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.
References
Link | Resource |
---|---|
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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2021-05-13T20:27:29
Updated: 2021-05-13T20:27:29
Reserved: 2019-03-25T00:00:00
Link: CVE-2019-10062
JSON object: View
NVD Information
Status : Analyzed
Published: 2021-05-13T21:15:07.280
Modified: 2021-05-24T16:01:19.417
Link: CVE-2019-10062
JSON object: View
Redhat Information
No data.
CWE