Bug 1946690 (CVE-2021-30154) - CVE-2021-30154 mediawiki: XSS due to unescaped messages used in HTML on Special:NewFiles
Summary: CVE-2021-30154 mediawiki: XSS due to unescaped messages used in HTML on Speci...
Status: NEW
Alias: CVE-2021-30154
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1946691 1947417 1947418 1947340
Blocks: 1946702
TreeView+ depends on / blocked
Reported: 2021-04-06 16:52 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-04-08 12:54 UTC (History)
11 users (show)

Fixed In Version: mediawiki 1.31.12, mediawiki 1.35.2
Doc Type: If docs needed, set a value
Doc Text:
In mediawiki package all the mediastatistics-header-* messages are outputted in HTML unescaped, which could leading to Cross-site Scripting (XSS).
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-04-06 16:52:22 UTC
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.


Comment 2 Przemyslaw Roguski 2021-04-07 13:12:12 UTC
External References:


Comment 3 Przemyslaw Roguski 2021-04-08 09:15:36 UTC

The mediawiki package was removed from OpenShift Container Platform (OCP) in version 4.3, therefore for OCP 4 has been marked as out of support scope.

Note You need to log in before you can comment on or make changes to this bug.