All reports
Medium

mediawiki: XSS due to unescaped messages used in HTML on Special:NewFiles

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-30154

Probability of exploitation in the next 30 days: 1.30%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On Special:NewFiles, all the mediastatistics-header-* messages are output in HTML unescaped, leading to XSS.

In mediawiki package all the mediastatistics-header-* messages are outputted in HTML unescaped, which could leading to Cross-site Scripting (XSS).