{"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-53368 exists.","fix":"Upgrade starcitizentools/citizen-skin to 3.4.0 or later.","what":"CVE-2025-53368 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-53368 and fix it if it is affected.\n\nWhat it is: CVE-2025-53368 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-53368 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-53368/ (Markdown: https://insights.sbomify.com/CVE-2025-53368/index.md)","id":"CVE-2025-53368","markdown":"https://insights.sbomify.com/CVE-2025-53368/index.md","name":"CVE-2025-53368","record":{"aliases":["GHSA-rq6g-6g94-jfr4"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"MediaWiki skin","requires_auth":"none","summary":"Stored XSS in Citizen MediaWiki skin allows attackers to inject scripts via page descriptions in the legacy search bar, affecting users who search for those pages.","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, page descriptions are inserted into raw HTML without proper sanitization by the Citizen skin when using the old search bar. Any user with page editing privileges can insert cross-site scripting (XSS) payloads into the DOM for other users who are searching for specific pages. 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 is vulnerable to stored XSS attack in the legacy search bar","id":"CVE-2025-53368","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 Short Description stored XSS vulnerability through wikitext","id":"CVE-2025-53369"},"packages":[{"ecosystem":"Packagist","fixed":["3.4.0"],"introduced":["1.9.4"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":null,"source":"GHSA-rq6g-6g94-jfr4"},{"ecosystem":"Packagist","fixed":["3.4.0"],"introduced":["1.9.4"],"last_affected":[],"package":"starcitizentools/citizen-skin","purl":"pkg:composer/starcitizentools/citizen-skin","source":"GHSA-rq6g-6g94-jfr4"}],"prev":{"headline":"DjVuLibre OOB-Write Vulnerability in MMRDecoder","id":"CVE-2025-53367"},"products":["mediawiki-skins-Citizen"],"published":"2025-07-03","related":[{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-03","vendors":["StarCitizenTools"]},"summary":"Stored XSS in Citizen MediaWiki skin allows attackers to inject scripts via page descriptions in the legacy search bar, affecting users who search for those pages.","url":"https://insights.sbomify.com/CVE-2025-53368/"}