Vulnerability · Published Oct 9, 2024 · Assigned by GitHub_M
CVE-2024-47812Cross-site Scripting (XSS) on Special:RequestImportQueue when displaying request date in ImportDump
Medium 6.0
In plain English
A medium-severity cross-site scripting in ImportDump from miraheze. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official description
ImportDump is an extension for mediawiki designed to automate user import requests. Anyone who can edit the interface strings of a wiki (typically administrators and interface admins) can embed XSS payloads in the messages for dates, and thus XSS anyone who views Special:RequestImportQueue. This issue has been patched in commit `d054b95` and all users are advised to apply this commit to their branch. Users unable to upgrade may either Prevent access to Special:RequestImportQueue on all wikis, except for the global wiki; and If an interface administrator (or equivalent) level protection is available (which is not provided by default) on the global wiki, protect the affected messages up to that level. This causes the XSS to be virtually useless as users with those rights can already edit Javascript pages. Or Prevent access to Special:RequestImportQueue altogether.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| miraheze | ImportDump | commits priot to d054b95 |
Weakness: CWE-79, CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
References
- https://github.com/miraheze/ImportDump/security/advisories/GHSA-465h-45v4-6fx9 x_refsource_CONFIRM
- https://github.com/miraheze/ImportDump/commit/d054b9529129af79d4426df24faa80014cb16602 x_refsource_MISC
- https://issue-tracker.miraheze.org/T12698 x_refsource_MISC