{"id":"CVE-2025-62508","published":"2025-10-17T20:29:47Z","modified":"2025-10-17T20:54:23Z","title":"Citizen vulnerable to stored XSS in sticky header button messages","vendor":"StarCitizenTools","product":"mediawiki-skins-Citizen","tier":"tail","description":{"text":"Citizen is a MediaWiki skin that makes extensions part of the cohesive experience. Citizen from 3.3.0 to 3.9.0 are vulnerable to stored cross-site scripting in the sticky header button message handling. In stickyHeader.js the copyButtonAttributes function assigns innerHTML from a source element’s textContent when copying button labels. This causes escaped HTML in system message content (such as citizen-share, citizen-view-history, citizen-view-edit, and nstab-talk) to be interpreted as HTML in the sticky header, allowing injection of arbitrary script by a user with the ability to edit interface messages. The vulnerability allows a user with the editinterface right but without the editsitejs right (by default the sysop group has editinterface but may not have editsitejs) to execute arbitrary JavaScript in other users’ sessions, enabling unauthorized access to sensitive data or actions. The issue is fixed in 3.9.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00448,"percentile":0.3974,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/security/advisories/GHSA-g955-vw6w-v6pp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/e006923c6dbf113c9a025ca186ecc09fe7b93a15","tags":["x_refsource_MISC"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/fbb1d4fe9627281567706f3f6fc99a42ce16fdc4","tags":["x_refsource_MISC"]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":7.95},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"starcitizentools","affectedVersions":[{"vendor":"StarCitizenTools","product":"mediawiki-skins-Citizen","versions":[">= 3.3.0, < 3.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-17T20:53:27.250721Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"starcitizentools/citizen-skin","vulnerableRanges":[">=3.3.0, <3.9.0"],"patched":["3.9.0"],"from":["GHSA-g955-vw6w-v6pp"],"provenance":"source"}],"summary":{"text":"The Citizen skin for MediaWiki (mediawiki-skins-Citizen, by StarCitizenTools) contains a stored cross-site scripting flaw in the sticky header button handling in stickyHeader.js, where copied button labels are assigned as HTML rather than text. An attacker who holds the editinterface right but not the editsitejs right, and who has network access to the wiki, can edit interface messages so that injected JavaScript runs in other users' sessions, which can expose sensitive data or allow unauthorized actions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:36Z"},"euvd":{"id":"EUVD-2025-34930","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-starcitizentools-mediawiki-skins-citizen-cve-2024-36123","parents":[{"from":"CVE-2025-49578","to":"CVE-2025-62508","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["resources/skins.citizen.scripts/skin.js"],"commits":["https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/93c36ac778397e0e7c46cf7adb1e5d848265f1bd","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/64cb5d7ab3a6dc0381fae54b31e8fc4afadc8beb","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/e006923c6dbf113c9a025ca186ecc09fe7b93a15","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/fbb1d4fe9627281567706f3f6fc99a42ce16fdc4"],"basis":"rarely changed file"}]},{"from":"CVE-2025-49579","to":"CVE-2025-62508","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["includes/SkinCitizen.php","resources/skins.citizen.styles/components/Pagetools.less"],"commits":["https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/93c36ac778397e0e7c46cf7adb1e5d848265f1bd","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/54c8717d45ce1594918f11cb9ce5d0ccd8dfee65","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/e006923c6dbf113c9a025ca186ecc09fe7b93a15","https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/fbb1d4fe9627281567706f3f6fc99a42ce16fdc4"],"basis":"shared function","functions":["getTemplateData"]}]}],"packageHistory":[{"cve":"CVE-2025-49579","published":"2025-06-12","fixed":"3.3.1","kev":false},{"cve":"CVE-2025-53368","published":"2025-07-03","fixed":"3.4.0","kev":false,"link":{"from":"CVE-2025-53368","to":"CVE-2025-62508","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:starcitizentools/citizen-skin","fromFixed":"3.4.0","toFixed":"3.9.0","daysApart":106}]}},{"cve":"CVE-2025-53370","published":"2025-07-03","fixed":"3.4.0","kev":false},{"cve":"CVE-2025-62508","published":"2025-10-17","fixed":"3.9.0","kev":false}],"package":"Packagist:starcitizentools/citizen-skin"}}