XSS in MediaWiki Shortdescription

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.010 (59.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-21710?
CVE-2022-21710 is a medium-severity vulnerability in MediaWiki Shortdescription, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2022-01-24.
How severe is CVE-2022-21710?
Medium severity. CVSS v3 base score is 4.7 out of 10.