{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73490","id":"CVE-2026-73490","title":"Loofah: SVG `href` attribute bypasses local-reference restriction","description":"Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin exte","descriptionLong":"Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.2, Loofah's HTML5 sanitizer applies its local-reference restriction only to the xlink:href attribute on SVG use and feImage elements, while browsers also accept the plain href attribute. A crafted sanitized SVG can therefore reference an arbitrary same-origin external document; use may render external SVG content containing scripts or other dangerous content, and feImage may load external images for tracking. Applications that sanitize user-supplied SVG with Loofah's default allowlist are affected. This issue is fixed in version 2.25.2.","published":"2026-08-12T20:58:12.219Z","updated":"2026-11-15T17:27:21.997043353Z","reserved":"2026-08-12T19:00:33.735Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["flavorjones loofah"],"affectedProducts":[{"vendor":"flavorjones","product":"loofah","defaultStatus":null,"versions":[{"version":"< 2.25.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"loofah","purl":"pkg:gem/loofah","ranges":["<2.25.2"],"fixed":["2.25.2"],"advisory":"GHSA-9wjq-cp2p-hrgf"}],"cwes":["CWE-79"],"aliases":["GHSA-9wjq-cp2p-hrgf"],"references":[{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-9wjq-cp2p-hrgf","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/flavorjones/loofah/pull/308","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/flavorjones/loofah/commit/20867b9be689521887364b74822c41ef830523c9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/flavorjones/loofah/releases/tag/v2.25.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73490.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73490","tags":["advisory"]},{"url":"https://github.com/flavorjones/loofah","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00296,"epssPercentile":0.22606,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73490","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73490","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73490","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9wjq-cp2p-hrgf","ok":true,"note":"GHSA-9wjq-cp2p-hrgf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73490","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}