Stored cross-site scripting in MediaWiki - CVE-2021-41798
Published: October 1, 2021
Vulnerability details
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in Special:Search. A remote user can permanently inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
mediawiki (Debian package)
mediawiki
Fedora
How to mitigate CVE-2021-41798
mediawiki (Debian package) - addressed in versions 1:1.31.16-1~deb10u1, 1:1.35.4-1~deb11u1
mediawiki - addressed in versions 1.35.4-1.fc33, 1.35.4-1.fc34, 1.36.2-1.fc35