Vulnerabilities · 2022 · Mediawiki
CVE-2022-21710
Mediawiki Shortdescription vulnerability
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
Shortdescription. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mediawiki Shortdescription runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/StarCitizenTools/mediawiki-extensions-ShortDescription/commit/7c86644158388620c · Patch
- github.com/StarCitizenTools/mediawiki-extensions-ShortDescription/commit/bf568edd892adb852 · Patch
- github.com/StarCitizenTools/mediawiki-extensions-ShortDescription/security/advisories/GHSA · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-21710
- cve.org/CVERecord?id=CVE-2022-21710
More vulnerabilities in Mediawiki products
CVE-2024-47913CVE-2024-47849CVE-2024-47847CVE-2024-47846CVE-2024-40605CVE-2024-40604CVE-2024-40603CVE-2024-40602All 391
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.