{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-126207",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-10T20:07:44.958Z",
        "datePublished": "2026-11-12T20:53:55.553Z",
        "dateUpdated": "2026-11-12T20:53:55.553Z"
    },
    "containers": {
        "cna": {
            "title": "Loofah: CSS url() sanitization bypass via escaped parentheses",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-180",
                            "lang": "en",
                            "description": "CWE-180: Incorrect Behavior Order: Validate Before Canonicalize",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-184",
                            "lang": "en",
                            "description": "CWE-184: Incomplete List of Disallowed Inputs",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/flavorjones/loofah/security/advisories/GHSA-m3x9-938q-5767",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/flavorjones/loofah/security/advisories/GHSA-m3x9-938q-5767"
                },
                {
                    "name": "https://github.com/flavorjones/loofah/pull/324",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/flavorjones/loofah/pull/324"
                },
                {
                    "name": "https://github.com/flavorjones/loofah/commit/b198a36e44c9c5408163ac50787825e8ca0b166b",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/flavorjones/loofah/commit/b198a36e44c9c5408163ac50787825e8ca0b166b"
                },
                {
                    "name": "https://github.com/flavorjones/loofah/releases/tag/v2.25.3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/flavorjones/loofah/releases/tag/v2.25.3"
                }
            ],
            "affected": [
                {
                    "vendor": "flavorjones",
                    "product": "loofah",
                    "versions": [
                        {
                            "version": "< 2.25.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-11-12T20:53:55.553Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-m3x9-938q-5767",
                "discovery": "UNKNOWN"
            }
        }
    }
}