Cors PermissiveCORSInjection

Prior to HTML5, Web browsers enforced the Same Origin Policy which ensures that in order for JavaScript to access the contents of a Web page, both the JavaScript and the Web page must originate from the same domain. Without the Same Origin Policy, a malicious website could serve up JavaScript that loads sensitive information from other websites using a clien

IndexedPublic repositoryHighMedium confidenceVerifiedLGPL-3.0-onlyKotlin
greprules fetch gitlab-sast-rules-lgpl-kotlin-cors-rule-permissivecorsinjection --engine opengrep

Description

Prior to HTML5, Web browsers enforced the Same Origin Policy which ensures that in order for JavaScript to access the contents of a Web page, both the JavaScript and the Web page must originate from the same domain. Without the Same Origin Policy, a malicious website could serve up JavaScript that loads sensitive information from other websites using a clien