{"id":"CVE-2024-47536","aliases":["CVE-2024-47536","GHSA-62r2-gcxr-426x"],"related":[],"kind":"vulnerability","state":"published","title":"starcitizentools/citizen-skin vulnerable to stored, self-XSS in the \"real name\" field","summary":"Citizen is a MediaWiki skin that makes extensions part of the cohesive experience. A user with the editmyprivateinfo right or who can otherwise change their name can XSS themselves by setting their \"real name\" to an XSS payload. This vulnerability is fixed in 2.31.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Citizen is a MediaWiki skin that makes extensions part of the cohesive experience. A user with the editmyprivateinfo right or who can otherwise change their name can XSS themselves by setting their \"real name\" to an XSS payload. This vulnerability is fixed in 2.31.0.","source":"cvelist"},{"lang":"en","text":"### Summary\nA user with the `editmyprivateinfo` right or who can otherwise change their name can XSS themselves by setting their \"real name\" to an XSS payload.\n\n### Details\nHere's the offending line:\nhttps://github.com/StarCitizenTools/mediawiki-skins-Citizen/blob/d45c3d69f30863f622f16eb40dd41d3ca943454a/includes/Components/CitizenComponentUserInfo.php#L137\n\nThis was introduced in 717d16af35b10dab04d434aefddbf991fc8c168c\n\n### PoC\n1. Login\n2. Go to Special:Preferences\n3. Set the real name field to a string like `<script>alert(\"Admin with a propensity for self-XSSes\")</script>`\n4. Save your settings and use Citizen if it's not being used already\n\n![](https://github.com/user-attachments/assets/22adbb70-fcd7-4f81-8e53-1f5f3a730270)\n\n### Impact\nAny user who can change their name (whether it's through the editmyprivateinfo right or through other means) can add XSS payloads that trigger for themselves only.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Citizen es una interfaz de MediaWiki que hace que las extensiones formen parte de la experiencia cohesiva. Un usuario con el derecho editmyprivateinfo o que pueda cambiar su nombre de otra manera puede realizar un XSS a sí mismo configurando su \"nombre real\" en un payload XSS. Esta vulnerabilidad se corrigió en la versión 2.31.0.","source":"nvd"}],"published":"2024-09-30T17:09:40.192Z","modified":"2026-06-17T07:57:15.657Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":">= 2.6.3, < 2.31.0","status":"affected"}],"vendor":"StarCitizenTools","product":"mediawiki-skins-Citizen","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"2.6.3","fixed":"2.31.0","status":"affected"}],"vendor":"starcitizentools","product":"mediawiki-skins-citizen","cpe":"cpe:2.3:a:starcitizentools:mediawiki-skins-citizen:2.6.3:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.6.3","status":"affected","fixed":"2.31.0"}],"ecosystem":"Packagist","package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.31.0"}],"vendor":"starcitizen.tools","product":"citizen","cpe":"cpe:2.3:a:starcitizen.tools:citizen:*:*:*:*:*:mediawiki:*:*","source":"nvd"}],"references":[{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/security/advisories/GHSA-62r2-gcxr-426x","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/717d16af35b10dab04d434aefddbf991fc8c168c","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/commit/86da3e07718c8d8da6f4310386fef85599606f9b","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen/blob/d45c3d69f30863f622f16eb40dd41d3ca943454a/includes/Components/CitizenComponentUserInfo.php#L137","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47536","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/StarCitizenTools/mediawiki-skins-Citizen","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-09-30T17:24:36.871Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47536","url":"https://www.cve.org/CVERecord?id=CVE-2024-47536","licence":"CVE Terms of Use","modified":"2024-09-30T17:25:48.104Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-62r2-gcxr-426x","url":"https://github.com/advisories/GHSA-62r2-gcxr-426x","licence":"CC-BY-4.0","modified":"2024-09-30T20:26:23.850Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47536","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47536","licence":"Public domain","modified":"2026-06-17T07:57:15.657Z"}],"updatedAt":"2026-11-25T22:58:45.900Z","epss":{"score":0.00648,"percentile":0.45752,"date":"2026-11-30T12:00:22.000Z"}}