CWE
79
Advisory Published
Updated

CVE-2022-21710: Cross-site Scripting in ShortDescription extension

First published: Mon Jan 24 2022(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
MediaWiki<2.3.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-21710?

    CVE-2022-21710 is classified as a cross-site scripting (XSS) vulnerability, which can allow attackers to execute malicious scripts on affected MediaWiki instances.

  • How do I fix CVE-2022-21710?

    To fix CVE-2022-21710, upgrade the MediaWiki ShortDescription extension to version 2.3.4 or later.

  • Which versions of the MediaWiki ShortDescription extension are affected by CVE-2022-21710?

    CVE-2022-21710 affects all versions of the MediaWiki ShortDescription extension prior to 2.3.4.

  • What are the risks associated with CVE-2022-21710?

    Exploiting CVE-2022-21710 could lead to unauthorized script execution and potential data theft on affected MediaWiki instances.

  • Is CVE-2022-21710 actively being exploited in the wild?

    There is currently no public information confirming active exploitation of CVE-2022-21710, but it is advisable to apply the security update to mitigate risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203