CVE-2024-34507

NameCVE-2024-34507
DescriptionAn issue was discovered in includes/CommentFormatter/CommentParser.php in MediaWiki before 1.39.7, 1.40.x before 1.40.3, and 1.41.x before 1.41.1. XSS can occur because of mishandling of the 0x1b character, as demonstrated by Special:RecentChanges#%1b0000000.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mediawiki (PTS)stretch (security)1:1.27.7-1+deb9u11vulnerable
stretch (lts), stretch1:1.27.7-1+deb9u13vulnerable
buster (security), buster, buster (lts)1:1.31.16-1+deb10u8fixed
bullseye1:1.35.13-1+deb11u2fixed
bullseye (security)1:1.35.13-1+deb11u3fixed
bookworm (security), bookworm1:1.39.10-1~deb12u1fixed
sid, trixie1:1.39.10-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mediawikisourcestretch(unfixed)end-of-life
mediawikisourcebuster(not affected)
mediawikisourcebullseye(not affected)
mediawikisourcebookworm1:1.39.7-1~deb12u1
mediawikisource(unstable)1:1.39.7-1

Notes

[bullseye] - mediawiki <not-affected> (Vulnerable code not present, introduced in 1.38)
[buster] - mediawiki <not-affected> (Vulnerable code not present, introduced in 1.38)
https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/V3WXEPXV2DU6WTVEKK4XHW4QXD5OFKD7/
https://phabricator.wikimedia.org/T355538
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1015422

Search for package or bug name: Reporting problems