{"id":"CVE-2019-10062","aliases":["CVE-2019-10062","GHSA-m6j2-v3gq-45r5"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in aurelia-framework","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La clase HTMLSanitizer en html-sanitizer.ts en todas las versiones liberadas del repositorio Aurelia framework 1.x es vulnerable a XSS. El saneamiento sólo intenta filtrar los elementos SCRIPT, lo que hace posible que los atacantes remotos realicen ataques XSS a través de (por ejemplo) código JavaScript en un atributo de otros elementos. Un atacante también podría explotar un error en la forma en que se procesa la cadena SCRIPT al dividirla y anidarla, por ejemplo","source":"nvd"}],"published":"2021-05-13T20:27:29.000Z","modified":"2026-06-17T02:10:08.190Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.1"}],"ecosystem":"npm","package":"aurelia-framework","purl":"pkg:npm/aurelia-framework","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","lastAffected":"1.3.1"}],"vendor":"bluespire","product":"aurelia_framework","cpe":"cpe:2.3:a:bluespire:aurelia_framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://aurelia.io","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aurelia/templating-resources/blob/0cef07a8cac8e99146d8e1c4b734491bb3dc4724/src/html-sanitizer.js","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss/","tags":["exploit","mitigation","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10062","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/aurelia/framework/issues/992","tags":["web"],"sources":["ghsa"]},{"url":"https://discourse.aurelia.io/t/xss-vulnerability-in-htmlsanitizer-might-be-insufficiently-handled/4219","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/aurelia/framework","tags":["package"],"sources":["ghsa"]},{"url":"https://www.gosecure.net/blog/2021/05/12/aurelia-framework-insecure-default-allows-xss","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-10062","url":"https://www.cve.org/CVERecord?id=CVE-2019-10062","licence":"CVE Terms of Use","modified":"2024-08-04T22:10:09.415Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m6j2-v3gq-45r5","url":"https://github.com/advisories/GHSA-m6j2-v3gq-45r5","licence":"CC-BY-4.0","modified":"2023-11-08T04:00:39.374Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-10062","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10062","licence":"Public domain","modified":"2026-06-17T02:10:08.190Z"}],"updatedAt":"2026-11-25T22:57:50.146Z","epss":{"score":0.01416,"percentile":0.73556,"date":"2026-12-01T12:00:22.000Z"}}