{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-49825",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-01T18:50:36.055Z",
        "datePublished": "2026-08-20T14:42:30.748Z",
        "dateUpdated": "2026-08-20T14:42:30.748Z"
    },
    "containers": {
        "cna": {
            "title": "lxml: javascript: URL bypass in Cleaner via xlink:href",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-79",
                            "lang": "en",
                            "description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
                            "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": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-4jhm-jv67-739f"
                },
                {
                    "name": "https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/fedora-python/lxml_html_clean/commit/322357ac61c6cf80fcbaba53b4e92e31f3ded9f2"
                },
                {
                    "name": "https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/lxml/lxml/commit/5927a6d5e851845140975d99b65461e255caaab0"
                },
                {
                    "name": "https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/fedora-python/lxml_html_clean/releases/tag/0.4.5"
                },
                {
                    "name": "https://github.com/lxml/lxml/releases/tag/lxml-6.1.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/lxml/lxml/releases/tag/lxml-6.1.1"
                }
            ],
            "affected": [
                {
                    "vendor": "lxml",
                    "product": "lxml",
                    "versions": [
                        {
                            "version": "< 6.1.1",
                            "status": "affected"
                        }
                    ]
                },
                {
                    "vendor": "fedora-python",
                    "product": "lxml_html_clean",
                    "versions": [
                        {
                            "version": "< 0.4.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-20T14:42:30.748Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in ``lxml.html.defs.link_attrs`` were missing ``xlink:href``, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5."
                }
            ],
            "source": {
                "advisory": "GHSA-4jhm-jv67-739f",
                "discovery": "UNKNOWN"
            }
        }
    }
}