CVE-2026-126207
Last modified
CVE-2026-126207 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, Loofah::HTML5::Scrub.scrub_css checks only the first parse of a style attribute, then rebuilds CSS with identifier escapes decoded so escaped parentheses, property names, comments, or quotes can become a live url() without a second safety check.
Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Prior to 2.25.3, Loofah::HTML5::Scrub.scrub_css checks only the first parse of a style attribute, then rebuilds CSS with identifier escapes decoded so escaped parentheses, property names, comments, or quotes can become a live url() without a second safety check. An attacker can use list-style to make a viewer's browser request an attacker-chosen URL when content renders, or cursor to make the request on hover. The request can disclose the viewer's IP address, user agent, access timing, and access to internal-network hosts, but no script survives sanitization and the attacker cannot read the response. This issue is fixed in version 2.25.3.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| flavorjones | loofah | < 2.25.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126207?
How severe is CVE-2026-126207?
How do I fix CVE-2026-126207?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1262IBM InfoSphere Information Server 11.7.0.0 through 11.7.1.6 …4.3
- CVE-2026-12620The GridTime 3000 GNSS Time Server leaks the access token in…6.5
- CVE-2026-126203Loofah is a general library for manipulating and transformin…6.1
- CVE-2026-126204express-rate-limit is a basic rate-limiting middleware for E…3.7
- CVE-2026-126205Loofah is a general library for manipulating and transformin…5.3
- CVE-2026-126206Loofah is a general library for manipulating and transformin…5.3
- CVE-2026-126208Loofah is a general library for manipulating and transformin…4.7
- CVE-2026-126209Loofah is a general library for manipulating and transformin…5.3
- CVE-2026-12621Improper neutralization of input during web page generation …5.4
- CVE-2026-126210@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-126211A improper privilege management vulnerability in Fortinet Fo…7.2
- CVE-2026-126212A heap-based buffer overflow vulnerability in Fortinet Forti…7.2
Are you affected by CVE-2026-126207?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
