CVE-2024-47781 Cross-site Scripting (XSS) in Special:RequestWikiQueue when displaying sitename in CreateWiki

Medium 5.3 Published Updated

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.

Sources

Also known as GHSA-h527-jh77-5g7j.

Is CVE-2024-47781 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free