Bug 2036082 (CVE-2021-45472) - CVE-2021-45472 mediawiki: XSS in Wikibase using formatter URL
Summary: CVE-2021-45472 mediawiki: XSS in Wikibase using formatter URL
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2021-45472
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2036083
Blocks: 2036091
TreeView+ depends on / blocked
 
Reported: 2021-12-29 17:00 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-07 17:44 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in mediawiki in versions through 1.37. A cross-site scripting attack (XSS) can occur in Wikibase because an external identifier property can have a URL format that includes a $1 formatter substitution marker, and the javascript: URL scheme (among others) can be used.
Clone Of:
Environment:
Last Closed: 2022-01-07 17:10:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-29 17:00:21 UTC
In MediaWiki through 1.37, XSS can occur in Wikibase because an external identifier property can have a URL format that includes a $1 formatter substitution marker, and the javascript: URL scheme (among others) can be used.

Reference:
https://phabricator.wikimedia.org/T297570

Upstream patch:
https://gerrit.wikimedia.org/r/q/I37ece1dfdc80d38055067c9c4fa73ba591acd8bd

Comment 1 Guilherme de Almeida Suckevicz 2021-12-29 17:00:34 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 2036083]

Comment 2 Product Security DevOps Team 2022-01-07 17:10:20 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-45472


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