CVE-2020-25812

NameCVE-2020-25812
DescriptionAn issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4767-1

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)
mediawikisourcebuster1:1.31.10-1~deb10u1DSA-4767-1
mediawikisource(unstable)1:1.35.0-1

Notes

[stretch] - mediawiki <not-affected> (Vulnerable code introduced later)
https://lists.wikimedia.org/pipermail/wikitech-l/2020-September/093888.html
https://phabricator.wikimedia.org/T255918

Search for package or bug name: Reporting problems