Skip to content
OpenAdvisories
Medium · 4.7 CVE-2022-21710 EUVD-2022-26898

Cross-site Scripting in ShortDescription extension

Published Jan 24, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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:<img src=x onerror=alert()>}}`. This issue has a patch in version 2.3.4.

Affected products

VendorProductAffectedFixed
StarCitizenTools mediawiki-extensions-ShortDescription < 2.3.4 —

References