Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-22872
cAdvisor vulnerability analysis and mitigation

Overview

CVE-2025-22872 is a vulnerability discovered in the golang.org/x/net/html package that affects the HTML tokenizer functionality. The vulnerability was disclosed on April 16, 2025, and affects versions before v0.38.0. The issue involves incorrect interpretation of tags with unquoted attribute values that end with a solidus character (/) as self-closing tags (Go Vuln DB, NVD).

Technical details

The vulnerability occurs when the tokenizer incorrectly interprets tags with unquoted attribute values ending with a solidus character (/) as self-closing. When using the Tokenizer directly, affected tags are incorrectly marked as self-closing. When using Parse functions, content following such tags may be placed in the wrong scope during DOM construction, specifically when tags are in foreign content contexts (e.g., SVG, MathML). The vulnerability has been assigned a CVSS v3.1 score of 6.5 (Medium) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L (NVD).

Impact

The vulnerability can result in the tokenizer emitting incorrect tokens and the parser producing an incorrect HTML DOM structure. This affects any tags when using Tokenizer directly, but only impacts tags inside foreign content contexts when using Parse functions (including ParseFragment, ParseFragmentWithOption, and ParseWithOptions) (Golang Announce).

Exploitability

The vulnerability requires no user interaction and can be exploited remotely, though it has high attack complexity as indicated by the CVSS score. There are no reports of this vulnerability being exploited in the wild (NVD).

Mitigation and workarounds

The vulnerability has been fixed in golang.org/x/net version v0.38.0. Users are advised to upgrade to this version to address the security issue (Go Vuln DB).

Community reactions

The vulnerability was responsibly disclosed and reported by Sean Ng. The Go Security team has addressed the issue promptly by releasing a patch and coordinating the disclosure through proper channels (Golang Announce).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

golang-golang-x-net

Affected

sid

golang-golang-x-net: 1:0.27.0-2

Fixed

trixie

golang-golang-x-net: 1:0.27.0-2

Fixed

Ubuntu

Fixed

bionic (esm-apps)

golang-golang-x-net-dev: 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2

Fixed

bionic (esm-infra)

lxd: 3.0.3-0ubuntu1~18.04.2+esm2

Fixed

devel

golang-golang-x-net

Not Affected

focal (esm-apps)

golang-golang-x-net-dev: 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2

Fixed

focal (esm-infra)

google-guest-agent

Not Affected

jammy

golang-golang-x-net

Affected

jammy (esm-apps)

golang-golang-x-net: 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2

Fixed

noble

golang-golang-x-net

Affected

RHEL / CentOS

Affected

OpenShift

atomic-openshift-service-idler.src

Affected

RHEL 8

container-tools:rhel8/podman.src

Affected

RHEL 9

grafana.src

Affected

RHEL 10

grafana.src

Affected

SourceThis report was generated using AI

Related cAdvisor vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84445HIGH8.7
  • cAdvisor logocAdvisor
  • cass-operator
NoYesSep 14, 2026
CVE-2026-84304HIGH8.7
  • cAdvisor logocAdvisor
  • gatekeeper-fips-3.23
NoYesSep 01, 2026
CVE-2026-56865HIGH8.4
  • Go logoGo
  • volume-modifier-for-k8s-fips
NoYesAug 13, 2026
CVE-2026-56864HIGH7.5
  • Go logoGo
  • http-echo
NoYesAug 13, 2026
CVE-2026-84303MEDIUM6.3
  • cAdvisor logocAdvisor
  • portainer-agent-2.39
NoYesSep 01, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management