{"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-49577 exists.","fix":"Upgrade starcitizentools/citizen-skin to 3.3.1 or later.","what":"CVE-2025-49577 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-49577 and fix it if it is affected.\n\nWhat it is: CVE-2025-49577 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-49577 exists.\n\nAffected packages and fixed versions:\n- starcitizentools/citizen-skin (Packagist): affected from 2.13.0; fixed in 3.3.1\n- starcitizentools/citizen-skin (Packagist): affected from 2.13.0; 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-49577/ (Markdown: https://insights.sbomify.com/CVE-2025-49577/index.md)","id":"CVE-2025-49577","markdown":"https://insights.sbomify.com/CVE-2025-49577/index.md","name":"CVE-2025-49577","record":{"aliases":["GHSA-jwr7-992g-68mh"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki skin","requires_auth":"high_privilege","summary":"Attackers with message editing privileges can inject arbitrary HTML into preference menu headings, leading to stored XSS attacks against users.","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. Various preferences messages are inserted into raw HTML, allowing anybody who can edit those messages to insert arbitrary HTML into the DOM. 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 preference menu headings","id":"CVE-2025-49577","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Citizen allows stored XSS in user registration date message","id":"CVE-2025-49578"},"packages":[{"ecosystem":"Packagist","fixed":["3.3.1"],"introduced":["2.13.0"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":null,"source":"GHSA-jwr7-992g-68mh"},{"ecosystem":"Packagist","fixed":["3.3.1"],"introduced":["2.13.0"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"GHSA-jwr7-992g-68mh"}],"prev":{"headline":"Citizen allows stored XSS in search no result messages","id":"CVE-2025-49576"},"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 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":"2025-06-12","vendors":["StarCitizenTools"]},"summary":"Attackers with message editing privileges can inject arbitrary HTML into preference menu headings, leading to stored XSS attacks against users.","url":"https://insights.sbomify.com/CVE-2025-49577/"}