CVE-2020-35474

NameCVE-2020-35474
DescriptionIn MediaWiki before 1.35.1, the combination of Html::rawElement and Message::text leads to XSS because the definition of MediaWiki:recentchanges-legend-watchlistexpiry can be changed onwiki so that the output is raw HTML.
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+deb9u11fixed
stretch (lts), stretch1:1.27.7-1+deb9u13fixed
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(not affected)
mediawikisourcebuster(not affected)
mediawikisource(unstable)1:1.35.1-1

Notes

[buster] - mediawiki <not-affected> (Introduced in 1.35)
[stretch] - mediawiki <not-affected> (Introduced in 1.35)
https://phabricator.wikimedia.org/T268894
https://lists.wikimedia.org/pipermail/wikitech-l/2020-December/094126.html

Search for package or bug name: Reporting problems