PT-2026-146055
CVE-2026-126208
·
Published
2026-11-12
·
Updated
2026-11-14
Description by
CVSS 3.1
4.7
MediumMetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Loofah versions prior to 2.25.3
rails-html-sanitizer (affected versions not specified)
Description
Loofah is a library for manipulating and transforming HTML/XML documents. The
SVG ALLOW LOCAL HREF safelist incorrectly lists textPath in lowercase as textpath, which does not match the HTML5 parser's element name, and completely omits the mpath element. Consequently, external href and xlink:href values on these elements are not properly sanitized. The PermitScrubber in rails-html-sanitizer is also affected as it reuses this safelist. When a viewer renders the content in Firefox, the browser fetches the attacker-chosen URL, potentially disclosing the viewer's IP address, user agent, referrer, and access to hosts routable only from the viewer's network. Chrome and WebKit do not fetch these references, resulting in a network request rather than script execution.Recommendations
Update Loofah to version 2.25.3 or later.
At the moment, there is no information about a newer version that contains a fix for this vulnerability for rails-html-sanitizer.
Found an issue in the description? Have something to add? Feel free to write us 👾