Advisory

DEBIAN-CVE-2025-22872

Also known as: CVE-2025-22872

Summary

The record has no summary.

Details

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

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

Dates

Published
2025-04-16 18:16 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

golang-golang-x-net

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-golang-x-net

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:0.27.0-2 (ecosystem)

Fixed versions

1:0.27.0-2

Fix

  • Fixed version 1:0.27.0-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-golang-x-net

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:0.27.0-2 (ecosystem)

Fixed versions

1:0.27.0-2

Fix

  • Fixed version 1:0.27.0-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences