Advisory

GHSA-pfm2-mqwj-ggm5

Also known as: BIT-mediawiki-2020-10960, CVE-2020-10960

Summary

MediaWiki makeCollapsible allows applying event handler to any CSS selector

Details

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).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:13 UTC
Modified
2024-04-01 20:11 UTC

Affected packages and fixes

mediawiki/core

Packagist · All systems

Affected

  • introduced 1.31.0, fixed 1.31.7 (ecosystem)

Fixed versions

1.31.7

Fix

The export has no generic command for this ecosystem.

mediawiki/core

Packagist · All systems

Affected

  • introduced 1.33.0, fixed 1.33.3 (ecosystem)

Fixed versions

1.33.3

Fix

The export has no generic command for this ecosystem.

mediawiki/core

Packagist · All systems

Affected

  • introduced 1.34.0, fixed 1.34.1 (ecosystem)

Fixed versions

1.34.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences