CVE Professor
›
Back
CVE-2026-126207

CVE-2026-126207 — Loofah — CWE-180 · CWE-184

MEDIUM CVSS 4.7 GitHub

CVE-2026-126207 is a MEDIUM severity security vulnerability (CWE-180, CWE-184) (CVSS 4.7/10) affecting Loofah. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), posing a direct security risk to affected deployments.

📄 Official NVD / MITRE Original Record Text

## Summary `Loofah::HTML5::Scrub.scrub_css` rejected any property whose top-level Crass tokens included a `:url` or `:bad_url`, and left `url` out of the allowed CSS functions. Both checks ran only against the first parse of the `style` attribute. When `scrub_css` rebuilt each property it emitted identifiers with their CSS escapes decoded, so parentheses written as escapes — `url\28 …\29` — hid the `url` token from the checks, and the rebuilt value was re-parsed into a live `url()` that nothing checked again. An escaped property name, six-digit escapes, escaped comments and escaped quotes all reached the same place. ## Impact A sanitized `style` attribute could make a viewer's browser issue a request to an attacker-chosen URL. `list-style` fetches on render with no interaction, `cursor` on hover. That leaks the viewer's IP address, user agent and access timing, and can reach hosts routable only from the viewer's network. No script survives sanitization and the attacker cannot

Published 12.11.2026
ISO Date 2026-11-12
Source GitHub
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-126207
CVSS 4.7/10 · MEDIUM · 12.11.2026
CWE: CWE-180, CWE-184
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary

Loofah::HTML5::Scrub.scrub_css rejected any property whose top-level Crass tokens included a :url or :bad_url, and left url out of the allowed CSS functions. Both checks ran only against the first parse of the style attribute. When scrub_css rebuilt each property it emitted identifiers with their CSS escapes decoded, so parentheses written as escapes — url\28 …\29 …
Affected: loofah

⚡ ATTACK CHAIN
CVSS vector not available. Review vendor advisory.

🌍 REAL WORLD IMPACT

🛡️ REMEDIATION
→ Apply vendor security update for loofah.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
4.7 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-180 CWE-184
Affected Products (1)
loofah
References & Advisories (4)
Related CVEs
4.1
CVE-2026-130768
Obot from 0.14.0 before 0.27.0 contains a server-side request forgery vulnerability that allows Power Users to
8.7
CVE-2026-126558
OS Command Injection, Incomplete List of Disallowed Inputs vulnerability in Broadcom AutoSys Workload Automati
5.9
CVE-2026-130595
SQLBot 1.10.0 through 1.10.3 fails to apply its PostgreSQL dangerous-function denylist because DS_SPECIFIC_DAN
0.0
CVE-2026-104933
LibreOffice can embed audio and video in documents. Where it plays media with GStreamer, as on Linux, the medi
8.7
CVE-2026-126370
Vvveb through 1.0.8.6 contains a remote code execution vulnerability allowing restricted site_admin roles to i
8.1
CVE-2026-128046
OpenMage magento-lts 20.17.0 before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains an unrestricted file