ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-22872

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

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSgolang-golang-x-net-dev
All versions before 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2 (fixed in 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2)
Ubuntu:Pro:16.04:LTSjuju-core
All versions before 2.3.7-0ubuntu0.16.04.1+esm2 (fixed in 2.3.7-0ubuntu0.16.04.1+esm2)
Ubuntu:Pro:16.04:LTSlxd
All versions before 2.0.11-0ubuntu1~16.04.4+esm2 (fixed in 2.0.11-0ubuntu1~16.04.4+esm2)
Ubuntu:Pro:18.04:LTSlxd
All versions before 3.0.3-0ubuntu1~18.04.2+esm2 (fixed in 3.0.3-0ubuntu1~18.04.2+esm2)
Ubuntu:Pro:18.04:LTSgolang-golang-x-net-dev
All versions before 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2 (fixed in 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2)
Ubuntu:Pro:20.04:LTSgolang-golang-x-net-dev
All versions before 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2 (fixed in 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2)
Ubuntu:22.04:LTSgolang-golang-x-net
All versions before 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1 (fixed in 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1)
Ubuntu:Pro:22.04:LTSgolang-golang-x-net
All versions before 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2 (fixed in 1:0.0+git20211209.491a49a+dfsg-1ubuntu0.1~esm2)
Ubuntu:Pro:24.04:LTSgolang-golang-x-net
All versions before 1:0.21.0+dfsg-1ubuntu0.1~esm2 (fixed in 1:0.21.0+dfsg-1ubuntu0.1~esm2)

References