{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21710 exists.","fix":"No fix has been published for CVE-2022-21710 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21710 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-extensions-ShortDescription, published on 24 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-21710 and fix it if it is affected.\n\nWhat it is: CVE-2022-21710 is a medium-severity cross-site scripting vulnerability in StarCitizenTools mediawiki-extensions-ShortDescription, published on 24 Jan 2022. An attacker can exploit it over the internet without logging in, 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-2022-21710 exists.\n\nAffected product: StarCitizenTools mediawiki-extensions-ShortDescription. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-21710/ (Markdown: https://insights.sbomify.com/CVE-2022-21710/index.md)","id":"CVE-2022-21710","markdown":"https://insights.sbomify.com/CVE-2022-21710/index.md","name":"CVE-2022-21710","record":{"aliases":["GHSA-mgcp-qw2r-6832"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"MediaWiki extension","requires_auth":"none","summary":"An attacker can inject malicious scripts via wikitext in the ShortDescription extension, potentially executing code in victim browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"shortdescription","vendor":"mediawiki"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"ShortDescription is a MediaWiki extension that provides local short description support. A cross-site scripting (XSS) vulnerability exists in versions prior to 2.3.4. On a wiki that has the ShortDescription enabled, XSS can be triggered on any page or the page with the action=info parameter, which displays the shortdesc property. This is achieved using the wikitext `{{SHORTDESC:\u0026lt;img src=x onerror=alert()\u0026gt;}}`. This issue has a patch in version 2.3.4.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Cross-site Scripting in ShortDescription extension","id":"CVE-2022-21710","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Out-of-bounds Read lead to application crashes or information leakage in ELF parsing.","id":"CVE-2022-21711"},"packages":[],"prev":{"headline":"Denial of Service in graphql-go","id":"CVE-2022-21708"},"products":["mediawiki-extensions-ShortDescription"],"published":"2022-01-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-04-22","vendors":["StarCitizenTools"]},"summary":"An attacker can inject malicious scripts via wikitext in the ShortDescription extension, potentially executing code in victim browsers.","url":"https://insights.sbomify.com/CVE-2022-21710/"}