Stored cross-site scripting in MediaWiki - CVE-2025-6595
Published: August 7, 2025
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 MultimediaViewer. A remote user can 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
Debian Linux
mediawiki (Debian package)
How to mitigate CVE-2025-6595
mediawiki (Debian package) - update to 1:1.39.13-1~deb12u1
External References
- https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/TT45WDZ7MDTXXBEFLBMLAJI532O2PN2U/
- https://phabricator.wikimedia.org/T394863
- https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MultimediaViewer/+/1165106
- https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MultimediaViewer/+/1165144