# CVE-2019-10062: Cross-site Scripting in aurelia-framework

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.42%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-13T20:27:29.000Z
- Modified: 2026-06-17T02:10:08.190Z
- Also known as: GHSA-m6j2-v3gq-45r5
- Weaknesses: CWE-79
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- aurelia-framework (npm): before 1.4.1
- bluespire aurelia_framework: from 1.0.0 up to 1.3.1

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/> (exploit, mitigation, third-party-advisory)
- <https://aurelia.io> (vendor-advisory)
- <https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-10062> (advisory)
- <https://github.com/aurelia/framework/issues/992> (web)
- <https://discourse.aurelia.io/t/xss-vulnerability-in-htmlsanitizer-might-be-insufficiently-handled/4219> (web)
- <https://github.com/aurelia/framework> (package)
- <https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss> (web)

## Sources

- CVE List: [CVE-2019-10062](https://www.cve.org/CVERecord?id=CVE-2019-10062), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m6j2-v3gq-45r5](https://github.com/advisories/GHSA-m6j2-v3gq-45r5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2019-10062](https://nvd.nist.gov/vuln/detail/CVE-2019-10062), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-10062 · Whole record: https://cve.day/CVE-2019-10062.json · Rebuilt by cve.day 2026-11-25T22:57:50.146Z
