CVEMETERBack to radar
OFFICIAL RECORD · Go packages

CVE-2025-22872

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

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).

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.555% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:40.588ZFIRST EPSS
patchesverified2026-11-19T12:52:37.080ZOSV
affectedverified2026-11-19T12:57:27.612ZCVE Program
lifecycleverified2026-11-19T12:57:27.612ZCVE Program

Affected versions and configuration

golang.org/x/net golang.org/x/net/html; default status: unaffected: 0 to < 0.38.0 [affected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "golang.org/x/net",
      "product": "golang.org/x/net/html",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "0.38.0",
          "versionType": "semver"
        }
      ],
      "packageName": "golang.org/x/net/html",
      "collectionURL": "https://pkg.go.dev",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "Tokenizer.readStartTag"
        },
        {
          "name": "Parse"
        },
        {
          "name": "ParseFragment"
        },
        {
          "name": "ParseFragmentWithOptions"
        },
        {
          "name": "ParseWithOptions"
        },
        {
          "name": "Tokenizer.Next"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "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": {
              "id": "CVE-2025-22872",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-04-16T20:14:29.607584Z"
            }
          }
        }
      ],
      "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"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-vvgc-356p-c3xw",
  "aliases": [
    "CVE-2025-22872",
    "GO-2025-3595"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.38.0"
            }
          ]
        }
      ],
      "package": {
        "name": "golang.org/x/net",
        "purl": "pkg:golang/golang.org/x/net",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-vvgc-356p-c3xw/GHSA-vvgc-356p-c3xw.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22872",
      "type": "ADVISORY"
    },
    {
      "url": "https://go.dev/cl/662715",
      "type": "WEB"
    },
    {
      "url": "https://go.dev/issue/73070",
      "type": "WEB"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA",
      "type": "WEB"
    },
    {
      "url": "https://pkg.go.dev/vuln/GO-2025-3595",
      "type": "WEB"
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20250516-0007",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": "2025-04-16T18:16:04Z",
    "github_reviewed_at": "2025-04-16T19:22:51Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GO-2025-3595",
  "aliases": [
    "CVE-2025-22872",
    "GHSA-vvgc-356p-c3xw"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.38.0"
            }
          ]
        }
      ],
      "package": {
        "name": "golang.org/x/net",
        "purl": "pkg:golang/golang.org/x/net",
        "ecosystem": "Go"
      },
      "versions": [],
      "database_specific": {
        "source": "https://vuln.go.dev/ID/GO-2025-3595.json"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "golang.org/x/net/html",
            "symbols": [
              "Parse",
              "ParseFragment",
              "ParseFragmentWithOptions",
              "ParseWithOptions",
              "Tokenizer.Next",
              "Tokenizer.readStartTag"
            ]
          }
        ]
      }
    }
  ],
  "severity": [],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://go.dev/cl/662715",
      "type": "FIX"
    },
    {
      "url": "https://go.dev/issue/73070",
      "type": "REPORT"
    },
    {
      "url": "https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "url": "https://pkg.go.dev/vuln/GO-2025-3595",
    "review_status": "REVIEWED"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryGo / packagegolang.org/x/netNot a distribution channel0.38.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history