GHSA-m6j2-v3gq-45r5

Suggest an improvement
Source
https://github.com/advisories/GHSA-m6j2-v3gq-45r5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m6j2-v3gq-45r5/GHSA-m6j2-v3gq-45r5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m6j2-v3gq-45r5
Aliases
Published
2022-02-10T23:42:39Z
Modified
2023-11-08T04:00:39Z
Summary
Cross-site Scripting in aurelia-framework
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-17T20:26:22Z",
    "nvd_published_at":  "2021-05-13T21:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / aurelia-framework

Package

Name
aurelia-framework
View open source insights on deps.dev
Purl
pkg:npm/aurelia-framework

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-m6j2-v3gq-45r5/GHSA-m6j2-v3gq-45r5.json"