{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-22872",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2025-01-08T19:11:42.834Z",
        "datePublished": "2025-04-16T17:13:02.550Z",
        "dateUpdated": "2025-05-16T23:03:07.693Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2025-04-16T17:13:02.550Z"
            },
            "title": "Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can result in content following such tags as being placed in the wrong scope during DOM construction, but only when tags are in foreign content (e.g. <math>, <svg>, etc contexts)."
                }
            ],
            "affected": [
                {
                    "vendor": "golang.org/x/net",
                    "product": "golang.org/x/net/html",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "golang.org/x/net/html",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "0.38.0",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "programRoutines": [
                        {
                            "name": "Tokenizer.readStartTag"
                        },
                        {
                            "name": "Parse"
                        },
                        {
                            "name": "ParseFragment"
                        },
                        {
                            "name": "ParseFragmentWithOptions"
                        },
                        {
                            "name": "ParseWithOptions"
                        },
                        {
                            "name": "Tokenizer.Next"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-79"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/cl/662715"
                },
                {
                    "url": "https://go.dev/issue/73070"
                },
                {
                    "url": "https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2025-3595"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Sean Ng (https://ensy.zip)"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "CHANGED",
                            "version": "3.1",
                            "baseScore": 6.5,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L",
                            "integrityImpact": "LOW",
                            "userInteraction": "NONE",
                            "attackComplexity": "HIGH",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-04-16T20:14:29.607584Z",
                                "id": "CVE-2025-22872",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-04-16T20:15:13.433Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20250516-0007/"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-05-16T23:03:07.693Z"
                }
            }
        ]
    }
}