Cross-site Scripting in ShortDescription extension
CVE-2022-21710
4.7MEDIUM
What is CVE-2022-21710?
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 Version(s)
mediawiki-extensions-ShortDescription < 2.3.4