{"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-2025-49579 exists.","fix":"Upgrade starcitizentools/citizen-skin to 3.3.1 or later.","what":"CVE-2025-49579 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 12 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-49579 and fix it if it is affected.\n\nWhat it is: CVE-2025-49579 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 12 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49579 exists.\n\nAffected packages and fixed versions:\n- starcitizentools/citizen-skin (Packagist): affected from 2.4.2; fixed in 3.3.1\n- starcitizentools/citizen-skin (Packagist): affected from 2.4.2; fixed in 3.3.1\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-2025-49579/ (Markdown: https://insights.sbomify.com/CVE-2025-49579/index.md)","id":"CVE-2025-49579","markdown":"https://insights.sbomify.com/CVE-2025-49579/index.md","name":"CVE-2025-49579","record":{"aliases":["GHSA-g3cp-pq72-hjpv"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki skin","requires_auth":"high_privilege","summary":"Stored XSS in Citizen MediaWiki skin allows attackers with editinterface rights to inject arbitrary HTML into menu headings.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"citizen","vendor":"starcitizen.tools"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"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. All system messages in menu headings using the Menu.mustache template are inserted as raw HTML, allowing anybody who can edit those messages to insert arbitrary HTML into the DOM. This impacts wikis where a group has the `editinterface` but not the `editsitejs` user right. This vulnerability is fixed in 3.3.1.","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":"Citizen allows stored XSS in menu heading message","id":"CVE-2025-49579","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"XWiki allows privilege escalation through link refactoring","id":"CVE-2025-49580"},"packages":[{"ecosystem":"Packagist","fixed":["3.3.1"],"introduced":["2.4.2"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":null,"source":"GHSA-g3cp-pq72-hjpv"},{"ecosystem":"Packagist","fixed":["3.3.1"],"introduced":["2.4.2"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"GHSA-g3cp-pq72-hjpv"}],"prev":{"headline":"Citizen allows stored XSS in user registration date message","id":"CVE-2025-49578"},"products":["mediawiki-skins-Citizen"],"published":"2025-06-12","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"}],"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":"2025-06-12","vendors":["StarCitizenTools"]},"summary":"Stored XSS in Citizen MediaWiki skin allows attackers with editinterface rights to inject arbitrary HTML into menu headings.","url":"https://insights.sbomify.com/CVE-2025-49579/"}