CVEvulnerability
CVE-2019-10062
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-05-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- 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 configurations
• bluespire aurelia framework (>= 1.0.0 <= 1.3.1)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://aurelia.io Vendor Advisory
- https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js Third Party Advisory
- https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/ Exploit, Mitigation, Third Party Advisory
- https://aurelia.io Vendor Advisory
- https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js Third Party Advisory
- https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/ Exploit, Mitigation, Third Party Advisory