PT-2022-15057 · Mediawiki · Shortdescription

Alistair3149

+1

·

Published

2022-01-24

·

Updated

2022-01-28

·

CVE-2022-21710

CVSS v3.1

4.7

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions ShortDescription versions prior to 2.3.4
Description A cross-site scripting (XSS) issue exists in the ShortDescription MediaWiki extension. This allows XSS to be triggered on any page or the page with the action=info parameter, which displays the shortdesc property, using the wikitext {{SHORTDESC:<img src=x onerror=alert()>}}.
Recommendations For versions prior to 2.3.4, update to version 2.3.4 to resolve the issue. As a temporary workaround, consider restricting the use of the {{SHORTDESC:}} wikitext until a patch is applied. Avoid using the onerror parameter in the img tag within the ShortDescription wikitext until the issue is resolved.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-21710
GHSA-MGCP-QW2R-6832

Affected Products

Shortdescription