Loading HuntDB...

GHSA-c5vx-c657-hmcm

GitHub Security Advisory

⚠ Unreviewed MODERATE Has CVE

Advisory Details

A mechanism to bypass Content Security Policy (CSP) protections on sites that have a "script-src" policy of "'strict-dynamic'". If a target website contains an HTML injection flaw an attacker could inject a reference to a copy of the "require.js" library that is part of Firefox's Developer Tools, and then use a known technique using that library to bypass the CSP restrictions on executing injected scripts. This vulnerability affects Firefox < 60.

Related CVEs

Key Information

GHSA ID
GHSA-c5vx-c657-hmcm
Published
May 13, 2022 1:52 AM
Last Modified
May 13, 2022 1:52 AM
CVSS Score
5.0 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: September 16, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.