CVE-2019-10062 json
Cross-site Scripting in aurelia-framework
published 2021-05-13 5 y ago modified 2026-06-17 4 mo ago also GHSA-m6j2-v3gq-45r5 , EUVD-2022-1094
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm aurelia-framework 1.4.1
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gosecure.net https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | aurelia-framework | <1.4.1 |
1.4.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
gosecure.net
/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/
exploit, mitigation, third-party-advisory
-
aurelia.io
vendor-advisory
-
github.com
/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10062
advisory
-
github.com
/aurelia/framework/issues/992
web
-
discourse.aurelia.io
/t/xss-vulnerability-in-htmlsanitizer-might-be-insufficiently-handled/4219
web
-
github.com
/aurelia/framework
package
-
gosecure.net
/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss
web
Sources
- CVE List CVE-2019-10062
- GitHub Advisory GHSA-m6j2-v3gq-45r5
- NVD CVE-2019-10062
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.