Cross-site Scripting in aurelia-frameworkGHSA-m6j2-v3gq-45r5
GHSA-m6j2-v3gq-45r5 is a Cross-site Scripting (XSS) vulnerability in aurelia-framework. 1 public exploit reference exists, so weaponization risk is real. A fix is available for aurelia-framework — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
aurelia-frameworknpmDescription
The HTMLSanitizer class in html-sanitizer.ts in all released versions of the Aurelia framework 1.x repository is vulnerable to XSS. The sanitizer only attempts to filter SCRIPT elements, which makes it feasible for remote attackers to conduct XSS attacks via (for example) JavaScript code in an attribute of various other elements. An attacker might also exploit a bug in how the SCRIPT string is processed by splitting and nesting them for example.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | aurelia-framework | all versions | 1.4.1npm install aurelia-framework@1.4.1 |
Affected Products
aurelia frameworkbluespireResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for aurelia-framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update aurelia-framework to 1.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-m6j2-v3gq-45r5 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-m6j2-v3gq-45r5 in your dependencies?
Find it across npm, including transitive dependencies.