FlawAtlas
Search the atlas
UBUNTU-CVE-2025-22872 Moderate

UBUNTU-CVE-2025-22872

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

Exploit probability Not scored
Published April 16, 2025
Required by Not available
Last source change April 8, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:Pro:16.04:LTS golang-golang-x-net-dev

5 explicit affected versions

Ubuntu:Pro:16.04:LTS juju-core

16 explicit affected versions

Ubuntu:Pro:16.04:LTS lxd

74 explicit affected versions

Ubuntu:Pro:18.04:LTS golang-golang-x-net-dev

4 explicit affected versions

Ubuntu:Pro:18.04:LTS lxd

21 explicit affected versions

Ubuntu:Pro:20.04:LTS golang-golang-x-net-dev

2 explicit affected versions

Ubuntu:Pro:22.04:LTS golang-golang-x-net

4 explicit affected versions

Ubuntu:Pro:24.04:LTS golang-golang-x-net

5 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2025-22872

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

View original source

05 / REFERENCES

Further evidence