Broken Access Control Risks in Open Source Javascript Projects: A Security Analysis
2026 (English) In: Proceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering - Companion, SANER-C 2026, Institute of Electrical and Electronics Engineers (IEEE), 2026, p. 222-229Conference paper, Published paper (Refereed)
Abstract [en]
Context: Broken Access Control (BAC) is ranked by OWASP as the most critical web security risk. Open-source JavaScript projects, with their openness and diverse contributors, are particularly exposed. Objective: This study investigates the prevalence and patterns of BAC vulnerabilities in open-source JavaScript projects, addressing the lack of empirical evidence beyond enterprise systems. Method: A hybrid approach combined Semgrep static analysis with manual penetration testing. A curated set of 166 GitHub repositories was scanned using custom rules for Insecure Direct Object Reference (IDOR), unprotected routes, forced browsing, and token/session flaws; flagged cases were validated in Docker with Postman. Results: Static analysis flagged 33 repositories as potentially vulnerable, of which 5 were confirmed to contain exploitable BAC vulnerabilities through manual penetration testing. Confirmed issues included unauthenticated endpoints, parameter-based privilege escalation, and insecure token or Cross-Origin Resource Sharing (CORS) handling. Static analysis was useful, but showed high false positives and limited contextual accuracy. Conclusion: BAC vulnerabilities recur in open-source JavaScript projects. Static tools aid in detection but require manual validation for reliable assessment.
Place, publisher, year, edition, pages Institute of Electrical and Electronics Engineers (IEEE), 2026. p. 222-229
Keywords [en]
Broken Access Control, JavaScript, Penetration Testing, Security, Semgrep, Static Analysis
National Category
Computer and Information Sciences
Identifiers URN: urn:nbn:se:miun:diva-57844 DOI: 10.1109/SANER-C67878.2026.00036 Scopus ID: 2-s2.0-105040703027 ISBN: 9798331585891 (electronic) OAI: oai:DiVA.org:miun-57844 DiVA, id: diva2:2078928
Conference 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering - Companion, SANER-C 2026
2026-06-242026-06-242026-06-24 Bibliographically approved