Skip to content

Cross-site Scripting in aurelia-framework

Moderate severity GitHub Reviewed Published Feb 10, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm aurelia-framework (npm)

Affected versions

< 1.4.1

Patched versions

1.4.1

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.

References

Published by the National Vulnerability Database May 13, 2021
Reviewed May 17, 2021
Published to the GitHub Advisory Database Feb 10, 2022
Last updated Feb 1, 2023

Severity

Moderate

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(70th percentile)

Weaknesses

CVE ID

CVE-2019-10062

GHSA ID

GHSA-m6j2-v3gq-45r5

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.