What’s Vulnerable › Vulnerabilities
CVE-2019-10062
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-05-13 · updated 2026-06-17
- Weakness: CWE-79
Description
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 products
- Bluespire Aurelia Framework: from 1.0.0 through 1.3.1
References
- https://aurelia.io
- https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js
- https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/
- https://aurelia.io
- https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js
- https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/
Get alerted when CVE-2019-10062 or the next vulnerability affects your stack