CVE-2024-47812
JSON

6.0medium

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

Severity
6.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
miraheze ImportDumpcommits priot to d054b95CVE List

Classification

CWE-79CWE-80

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

ImportDump es una extensión para mediawiki diseñada para automatizar las solicitudes de importación de los usuarios. Cualquiera que pueda editar las cadenas de interfaz de una wiki (normalmente administradores y administradores de interfaz) puede incrustar payloads XSS en los mensajes de fechas y, por tanto, enviar XSS a cualquiera que vea Special:RequestImportQueue. Este problema se ha corregido en el commit `d054b95` y se recomienda a todos los usuarios que apliquen esta confirmación a su rama. Los usuarios que no puedan actualizar pueden impedir el acceso a Special:RequestImportQueue en todas las wikis, excepto en la wiki global; y si hay disponible una protección de nivel de administrador de interfaz (o equivalente) (que no se proporciona de forma predeterminada) en la wiki global, proteger los mensajes afectados hasta ese nivel. Esto hace que el XSS sea prácticamente inútil, ya que los usuarios con esos derechos ya pueden editar páginas de Javascript. O impedir el acceso a Special:RequestImportQueue por completo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47812 changed 2024-10-09CVE Terms of Use
NVDCVE-2024-47812 changed 2026-06-17Public domain