CVE-2024-47781 Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki
Attackers can inject scripts via wiki names to steal session data and view private requests in the CreateWiki extension.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-47781?
CVE-2024-47781 is a medium-severity cross-site scripting vulnerability in miraheze CreateWiki, published on 7 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
CreateWiki is an extension used at Miraheze for requesting & creating wikis. The name of requested wikis is not escaped on Special:RequestWikiQueue, so a user can insert arbitrary HTML that is displayed in the request wiki queue when requesting a wiki. If a wiki creator comes across the XSS payload, their user session can be abused to retrieve deleted wiki requests, which typically contains private information. Likewise, this can also be abused on those with the ability to suppress requests to view sensitive information. This issue has been patched with commit `693a220` and all users are advised to apply the patch. Users unable to upgrade should disable Javascript and/or prevent access to the vulnerable page (Special:RequestWikiQueue).
Weakness: CWE-79
Which versions are affected by CVE-2024-47781?
It affects 1 product.
Products include Miraheze Createwiki.
How do I fix CVE-2024-47781?
No fix has been published for CVE-2024-47781 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-47781 being exploited?
There is no known exploitation of CVE-2024-47781 in the wild and no public exploit code.
Other vulnerabilities in miraheze CreateWiki
- CVE-2022-24813 Authentication Bypass Using an Alternate Path or Channel in CreateWiki
- CVE-2024-29898 Oversight in fix for GHSA-4rcf-3cj2-46mq may have exposed suppressed wiki requests on private wikis
- CVE-2024-29883 CreateWiki's wiki request suppression ignores the suppression settings set by the suppressor
Sources
Also known as GHSA-h527-jh77-5g7j.