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.
Recommendation
Update the aurelia-framework package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.4.1
- Patched version(s): 1.4.1
References
Could your website be exposed too?
SmartScanner can check your website for Cross-site Scripting in aurelia-framework and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-site Scripting in remarkable - CVE-2019-12043
- mxGraph vulnerable to cross-site scripting in color field - CVE-2019-13127
- Cross-Site Scripting in editor.md - CVE-2019-9737
- AngularJS Cross-site Scripting due to failure to sanitize `xlink.href` attributes - CVE-2019-14863


