Bug 1826076 (CVE-2020-10960) - CVE-2020-10960 mediawiki: makeCollapsible allows applying event handler to any CSS selector
Summary: CVE-2020-10960 mediawiki: makeCollapsible allows applying event handler to an...
Keywords:
Status: NEW
Alias: CVE-2020-10960
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: 1826081 1827448 1827449
Blocks: 1826083
TreeView+ depends on / blocked
 
Reported: 2020-04-20 19:55 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-08-01 08:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in MediaWiki, where many CSS stylesheets were applied freely to user Wiki pages. This flaw allows an attacker with the ability to create Wiki pages to hide HTML elements that they should not have access permissions to control.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-04-20 19:55:15 UTC
In MediaWiki before 1.34.1, users can add various Cascading Style Sheets (CSS) classes (which can affect what content is shown or hidden in the user interface) to arbitrary DOM nodes via HTML content within a MediaWiki page. This occurs because jquery.makeCollapsible allows applying an event handler to any Cascading Style Sheets (CSS) selector. There is no known way to exploit this for cross-site scripting (XSS).

References:
https://lists.wikimedia.org/pipermail/wikitech-l/2020-March/093243.html
https://phabricator.wikimedia.org/T246602

Comment 1 Guilherme de Almeida Suckevicz 2020-04-20 20:04:13 UTC
Created mediawiki tracking bugs for this issue:

Affects: fedora-all [bug 1826081]

Comment 2 Jason Shepherd 2020-04-24 00:04:01 UTC
Statement:

The MediaWiki Ansible Playbook has been removed from OpenShift Container Platform in the 4.3 release.


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