← Database

CVE-2021-42043

MEDIUM CVSS: 6.1 Published: 2021-10-06 Modified: 2026-06-17

Description

An issue was discovered in Special:MediaSearch in the MediaSearch extension in MediaWiki through 1.36.2. The suggestion text (a parameter to mediasearch-did-you-mean) was not being properly sanitized and allowed for the injection and execution of HTML and JavaScript via the intitle: search operator within the query.

Affected Platforms

Mediawiki Mediawiki

Weakness Type

CWE-79

References