{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-126205","published":"2026-11-12T21:17:21.487000Z","last_modified":"2026-11-16T20:18:59.413000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-400","CWE-1333"],"cpes":[],"cpes_truncated":false,"vendors":["flavorjones"],"products":["flavorjones/loofah"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-mf2j-8f84-cc9q","ecosystem":"RubyGems","name":"loofah","purl":"pkg:gem/loofah","ranges":[{"introduced":"0","fixed":"2.25.3"}],"versions":["0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","1.0.0","1.0.0.beta.1","1.1.0","1.2.0","1.2.1","2.0.0","2.0.1","2.0.2","2.0.3","2.1.0","2.1.0.rc1","2.1.0.rc2","2.1.1","2.10.0","2.11.0","2.12.0","2.13.0","2.14.0","2.15.0","2.16.0","2.17.0","2.18.0","2.19.0","2.19.1","2.2.0","2.2.1","2.2.2","2.2.3","2.20.0","2.21.0","2.21.0.rc1","2.21.1","2.21.2","2.21.3","2.21.4","2.22.0","2.23.0","2.23.1","2.24.0","2.24.1","2.25.0","2.25.1","2.25.2","2.3.0","2.3.1","2.4.0","2.5.0","2.6.0","2.7.0","2.8.0","2.9.0","2.9.1"],"versions_truncated":false}],"severity":"medium","priority_score":49,"links":{"html_es":"/es/cve/CVE-2026-126205/","html_en":"/en/cve/CVE-2026-126205/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126205","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-126205"},"untrusted":{"vendor_name":"flavorjones","product_name":"loofah","desc_en":"Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, the Loofah HTML5 sanitizer checks href and xlink:href on elements in SVG_ALLOW_LOCAL_HREF with a regular expression whose line anchor and newline-matching whitespace cause an all-whitespace value to be rescanned from every line start. An attacker can submit an SVG reference element with a long multiline-whitespace attribute and consume CPU quadratically during sanitization. CRuby 3.1 and earlier and JRuby are affected, while CRuby 3.2 and later uses linear-time regular-expression matching. The default safelist reaches the vulnerable check without a configuration change. This issue is fixed in version 2.25.3.","affected":[{"untrusted_vendor":"flavorjones","untrusted_product":"loofah"}],"references":[{"url":"https://github.com/flavorjones/loofah/commit/2f31e7fae36036c9882d3d0fae720e1014c57cd1","tags":[]},{"url":"https://github.com/flavorjones/loofah/pull/324","tags":[]},{"url":"https://github.com/flavorjones/loofah/releases/tag/v2.25.3","tags":[]},{"url":"https://github.com/flavorjones/loofah/security/advisories/GHSA-mf2j-8f84-cc9q","tags":[]}]}}