Cross-site scripting in MediaWiki - CVE-2024-25107
Published: May 7, 2024
MediaWiki
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the WikiDiscover extension on Special:WikiDiscover. A remote user can trick the victim to follow a specially crafted link 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.
How to mitigate CVE-2024-25107
Sources
- https://github.com/miraheze/WikiDiscover/security/advisories/GHSA-cfcf-94jv-455f
- https://github.com/miraheze/WikiDiscover/commit/267e763a0d7460f001693c42f67717a0fc3fd6bb
- https://issue-tracker.miraheze.org/T11814
- https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/ISK76VXYSIOKYLLU2DTQUXIJV6MMWGOJ/