CVE-2019-10062
MEDIUM 6.1CVSS 3.1Cross-site Scripting in aurelia-framework
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.
- Published
- 13 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-m6j2-v3gq-45r5
- Sources
- NVDJSONOSV GHSA-m6j2-v3gq-45r5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | bluespire | aurelia_frameworkcpe:2.3:a:bluespire:aurelia_framework:*:*:*:*:*:*:*:* |
>= 1.0.0, <= 1.3.1 | |
| OSV | npm | aurelia-framework | < 1.4.1 | 1.4.1 |
References
- https://aurelia.io · Vendor Advisory
- https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js · Third Party Advisory, WEB
- https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/ · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10062 · ADVISORY
- https://github.com/aurelia/framework/issues/992 · WEB
- https://discourse.aurelia.io/t/xss-vulnerability-in-htmlsanitizer-might-be-insufficiently-handled/4219 · WEB
- https://github.com/aurelia/framework · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Feb 2022)