CVE Professor
›
Back
CVE-2026-126208

CVE-2026-126208 — Loofah — CWE-178 · CWE-184

MEDIUM CVSS 4.7 GitHub

CVE-2026-126208 is a MEDIUM severity security vulnerability (CWE-178, 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 restricts `href` and `xlink:href` on certain SVG elements to same-document references. Two elements escaped the restriction: - `<textPath>`: `SVG_ALLOW_LOCAL_HREF` listed it in lowercase as `textpath`, but the HTML5 parser names the element `textPath` inside `<svg>`, so the check never matched on the HTML5 path. - `<mpath>`: absent from `SVG_ALLOW_LOCAL_HREF`, so its references were never restricted on either path. `rails-html-sanitizer` reuses this safelist in its `PermitScrubber`, so it is affected too. ## Impact An external `href` or `xlink:href` on `<textPath>` or `<mpath>` survives sanitization. Firefox fetches the URL when rendering the content, which leaks the viewer's IP address, user agent, and referrer, and can reach hosts routable only from the viewer's network. Chrome and WebKit do not fetch external references on these elements. The impact is a network request to an attacker-chosen URL, not script execution. Applications that sanitize user-supplied

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-126208
CVSS 4.7/10 · MEDIUM · 12.11.2026
CWE: CWE-178, CWE-184
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ## Summary

Loofah restricts href and xlink:href on certain SVG elements to same-document references. Two elements escaped the restriction:

  • <textPath>: SVG_ALLOW_LOCAL_HREF listed it in lowercase as textpath, but the HTML5 parser names the element textPath inside <svg>, so the check never matched on the HTML5 path. - <mpath>: absent from SVG_ALLOW_LOCAL_HREF, so its referen…
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-178 CWE-184
Affected Products (1)
loofah
References & Advisories (4)
Related CVEs
9.8
CVE-2023-54419
nginxWebUI 3.0.0 before 3.5.8 contains an authentication bypass vulnerability that allows unauthenticated atta
9.1
CVE-2026-130757
Fleet before 4.92.0 contains an improper authentication vulnerability that allows attackers to reuse case-muta
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