{"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-53370 exists.","fix":"Upgrade starcitizentools/citizen-skin to 3.4.0 or later.","what":"CVE-2025-53370 is a high-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 3 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-53370 and fix it if it is affected.\n\nWhat it is: CVE-2025-53370 is a high-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-skins-Citizen, published on 3 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53370 exists.\n\nAffected packages and fixed versions:\n- starcitizentools/citizen-skin (Packagist): affected from 1.9.4; fixed in 3.4.0\n- starcitizentools/citizen-skin (Packagist): affected from 1.9.4; fixed in 3.4.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-2025-53370/ (Markdown: https://insights.sbomify.com/CVE-2025-53370/index.md)","id":"CVE-2025-53370","markdown":"https://insights.sbomify.com/CVE-2025-53370/index.md","name":"CVE-2025-53370","record":{"aliases":["GHSA-prmv-7r8c-794g"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MediaWiki skin","requires_auth":"none","summary":"An attacker can inject arbitrary HTML into the DOM via short descriptions in the Citizen MediaWiki skin, potentially executing malicious scripts.","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":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","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. From versions 1.9.4 to before 3.4.0, short descriptions set via the ShortDescription extension are inserted as raw HTML by the Citizen skin, allowing any user to insert arbitrary HTML into the DOM by editing a page. This issue has been patched in version 3.4.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":"Citizen stored XSS vulnerability through short descriptions","id":"CVE-2025-53370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"DiscordNotifications allows DOS, SSRF, and possible RCE through requests to user-controlled URLs","id":"CVE-2025-53371"},"packages":[{"ecosystem":"Packagist","fixed":["3.4.0"],"introduced":["1.9.4"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":null,"source":"GHSA-prmv-7r8c-794g"},{"ecosystem":"Packagist","fixed":["3.4.0"],"introduced":["1.9.4"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"GHSA-prmv-7r8c-794g"}],"prev":{"headline":"Citizen Short Description stored XSS vulnerability through wikitext","id":"CVE-2025-53369"},"products":["mediawiki-skins-Citizen"],"published":"2025-07-03","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":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":"2025-07-07","vendors":["StarCitizenTools"]},"summary":"An attacker can inject arbitrary HTML into the DOM via short descriptions in the Citizen MediaWiki skin, potentially executing malicious scripts.","url":"https://insights.sbomify.com/CVE-2025-53370/"}