logo

CVE-2025-22872 golang.org/x/net

Package

Manager: go
Name: golang.org/x/net
Vulnerable Version: >=0 <0.38.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N/E:U/RL:O/RC:C

CVSS v4.0: 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

EPSS: 0.00019 pctl0.0345

Details

golang.org/x/net vulnerable to Cross-site Scripting 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).

Metadata

Created: 2025-04-16T19:22:51Z
Modified: 2025-05-17T18:49:25Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/04/GHSA-vvgc-356p-c3xw/GHSA-vvgc-356p-c3xw.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-vvgc-356p-c3xw
Finding: F008
Auto approve: 1