{"answers":{"affected":"2 open source packages ship an affected version, including starcitizentools/citizen-skin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47536 exists.","fix":"Upgrade starcitizentools/citizen-skin to 2.31.0 or later.","what":"CVE-2024-47536 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 30 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-47536 and fix it if it is affected.\n\nWhat it is: CVE-2024-47536 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 30 Sep 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47536 exists.\n\nAffected packages and fixed versions:\n- starcitizentools/citizen-skin (Packagist): affected from 2.6.3; fixed in 2.31.0\n- starcitizentools/citizen-skin (Packagist): affected from 2.6.3; fixed in 2.31.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-47536/ (Markdown: https://insights.sbomify.com/CVE-2024-47536/index.md)","id":"CVE-2024-47536","markdown":"https://insights.sbomify.com/CVE-2024-47536/index.md","name":"CVE-2024-47536","record":{"aliases":["GHSA-62r2-gcxr-426x"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki skin","requires_auth":"low_privilege","summary":"A user can inject malicious scripts via the real name field, leading to self-XSS in the Citizen MediaWiki skin.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"citizen","vendor":"starcitizen.tools"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"starcitizentools/citizen-skin vulnerable to stored, self-XSS in the \"real name\" field","id":"CVE-2024-47536","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":4,"next":{"headline":"GHSL-2024-094: GStreamer has an OOB-write in isomp4/qtdemux.c","id":"CVE-2024-47537"},"packages":[{"ecosystem":"Packagist","fixed":["2.31.0"],"introduced":["2.6.3"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":null,"source":"GHSA-62r2-gcxr-426x"},{"ecosystem":"Packagist","fixed":["2.31.0"],"introduced":["2.6.3"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"GHSA-62r2-gcxr-426x"}],"prev":{"headline":"Denial of Service attack on windows app using Netty","id":"CVE-2024-47535"},"products":["mediawiki-skins-Citizen"],"published":"2024-09-30","related":[{"cvss_score":8.6,"headline":"Citizen is vulnerable to stored XSS attack in the legacy search bar","id":"CVE-2025-53368","kev_date_added":null,"published":"2025-07-03"},{"cvss_score":8.6,"headline":"Citizen stored XSS vulnerability through short descriptions","id":"CVE-2025-53370","kev_date_added":null,"published":"2025-07-03"},{"cvss_score":6.5,"headline":"Citizen allows stored XSS in Command Palette tip messages","id":"CVE-2025-49575","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":6.5,"headline":"Citizen allows stored XSS in search no result messages","id":"CVE-2025-49576","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":6.5,"headline":"Citizen allows stored XSS in preference menu headings","id":"CVE-2025-49577","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":6.5,"headline":"Citizen allows stored XSS in user registration date message","id":"CVE-2025-49578","kev_date_added":null,"published":"2025-06-12"},{"cvss_score":6.5,"headline":"Citizen allows stored XSS in menu heading message","id":"CVE-2025-49579","kev_date_added":null,"published":"2025-06-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-30","vendors":["StarCitizenTools"]},"summary":"A user can inject malicious scripts via the real name field, leading to self-XSS in the Citizen MediaWiki skin.","url":"https://insights.sbomify.com/CVE-2024-47536/"}