Skip to content
OpenAdvisories
Medium CVE-2019-10062 EUVD-2022-1094GHSA-m6j2-v3gq-45r5

Cross-site Scripting in aurelia-framework

Published May 13, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
npm aurelia-framework < 1.4.1 1.4.1 GHSA-m6j2-v3gq-45r5

References