Name | CVE-2024-34507 |
Description | An 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. |
Source | CVE (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 Package | Release | Version | Status |
---|
mediawiki (PTS) | stretch (security) | 1:1.27.7-1+deb9u11 | vulnerable |
| stretch (lts), stretch | 1:1.27.7-1+deb9u13 | vulnerable |
| buster (security), buster, buster (lts) | 1:1.31.16-1+deb10u8 | fixed |
| bullseye | 1:1.35.13-1+deb11u2 | fixed |
| bullseye (security) | 1:1.35.13-1+deb11u3 | fixed |
| bookworm (security), bookworm | 1:1.39.10-1~deb12u1 | fixed |
| sid, trixie | 1:1.39.10-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
mediawiki | source | stretch | (unfixed) | end-of-life | | |
mediawiki | source | buster | (not affected) | | | |
mediawiki | source | bullseye | (not affected) | | | |
mediawiki | source | bookworm | 1:1.39.7-1~deb12u1 | | | |
mediawiki | source | (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