Skip to content

x/vulndb: potential Go vuln in golang.org/x/net: GHSA-vvgc-356p-c3xw #3624

Closed
@GoVulnBot

Description

@GoVulnBot

Advisory GHSA-vvgc-356p-c3xw references a vulnerability in the following Go modules:

Module
golang.org/x/net

Description:
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. , , etc contexts).

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: golang.org/x/net
      versions:
        - fixed: 0.38.0
      vulnerable_at: 0.37.0
summary: golang.org/x/net vulnerable to Cross-site Scripting
cves:
    - CVE-2025-22872
ghsas:
    - GHSA-vvgc-356p-c3xw
references:
    - advisory: https://github.com/advisories/GHSA-vvgc-356p-c3xw
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-22872
    - fix: https://go.dev/cl/662715
    - report: https://go.dev/issue/73070
    - web: https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA
source:
    id: GHSA-vvgc-356p-c3xw
    created: 2025-04-16T20:04:07.924496548Z
review_status: UNREVIEWED

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions