{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2025-62698", "assignerOrgId": "00000000-0000-4000-9000-000000000000", "requesterUserId": "00000000-0000-4000-9000-000000000000", "serial": 1, "state": "PUBLISHED" }, "containers": { "cna": { "providerMetadata": { "orgId": "00000000-0000-4000-9000-000000000000" }, "title": "Stored XSS through system messages in the MediaWiki ExternalGuidance extension", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-79", "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')", "type": "CWE" } ] } ], "impacts": [ { "capecId": "CAPEC-592", "descriptions": [ { "lang": "en", "value": "CAPEC-592 Stored XSS" } ] } ], "affected": [ { "vendor": "MediaWiki", "product": "ExternalGuidance extension", "repo": "https://gerrit.wikimedia.org/g/mediawiki/extensions/ExternalGuidance", "programFiles": [ "modules/mw.externalguidance/core.js" ], "versions": [ { "status": "affected", "version": "0", "lessThan": "c7c51ca611", "versionType": "git" }, { "status": "affected", "version": "0", "lessThan": "22986d5fd1", "versionType": "git" }, { "status": "affected", "version": "0", "lessThan": "c0a0d0e568", "versionType": "git" }, { "status": "affected", "version": "0", "lessThan": "3d6e2f673a", "versionType": "git" } ], "defaultStatus": "affected" } ], "descriptions": [ { "lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability in the MediaWiki ExternalGuidance extension enabled users with the editinterface right, but without the editsitejs/editsitecss rights (notably, including the default sysop user-group), to execute arbitrary JavaScript in some end-users' web browsers, by overriding certain system messages which the ExternalGuidance extension inserted into the page as raw HTML.\n\nThe vulnerable system messages were:\n\n * externalguidance-machine-translation-heading\n * externalguidance-machine-translation-contribute\n\n\n\n\nThis issue affects all versions of the ExternalGuidance extension before Git commits c7c51ca611 (branch master), before 22986d5fd1 (branch REL1_44), before c0a0d0e568 (branch REL1_43), & before 3d6e2f673a (branch REL1_39).", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
A stored cross-site scripting (XSS) vulnerability in the MediaWiki ExternalGuidance extension enabled users with the editinterface right, but without the editsitejs/editsitecss rights (notably, including the default sysop user-group), to execute arbitrary JavaScript in some end-users' web browsers, by overriding certain system messages which the ExternalGuidance extension inserted into the page as raw HTML.
The vulnerable system messages were:
This issue affects all versions of the ExternalGuidance extension before Git commits c7c51ca611 (branch master), before 22986d5fd1 (branch REL1_44), before c0a0d0e568 (branch REL1_43), & before 3d6e2f673a (branch REL1_39).
$wgRawHtmlMessages[] = \"externalguidance-machine-translation-heading\";\n$wgRawHtmlMessages[] = \"externalguidance-machine-translation-contribute\";" } ] } ] } } }