Medium

MediaWiki makeCollapsible allows applying event handler to any CSS selector

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 10:22

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

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package mediawiki/core >= 1.31.0, < 1.31.7, >= 1.33.0, < 1.33.3, >= 1.34.0, < 1.34.1 1.31.7, 1.33.3, 1.34.1

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness (CWE)
CWE-116, CWE-74
Platform
Composer
Package
mediawiki/core
Disclosed
24.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-pfm2-mqwj-ggm5 - CC BY 4.0

Vulnerability history: mediawiki/core

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (28) in the archive
Total entries
28
First → latest
05.2022 10.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 6
  • Medium 20

Disclosures per year

  1. 2022: 26
  2. 2023: 2
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
Severity:
  1. High · 7.5 CVE-2023-45363 < 1.35.12, >= 1.36.0, < 1.39.5, >= 1.40.0, < 1.40.1 1.35.12, 1.39.5, 1.40.1
  2. Critical · 9.8 CVE-2023-29141 >= 1.39.0, < 1.39.3, >= 1.38.0, < 1.38.6, < 1.35.10 1.39.3, 1.38.6, 1.35.10
  3. High · 7.5 CVE-2020-25827 >= 1.31.0, < 1.31.9, >= 1.32.0, < 1.34.3 1.31.9, 1.34.3
  4. MediaWiki makeCollapsible allows applying event handler to any CSS selector this entry
    Medium · 5.3 CVE-2020-10960 >= 1.31.0, < 1.31.7, >= 1.33.0, < 1.33.3, >= 1.34.0, < 1.34.1 1.31.7, 1.33.3, 1.34.1
  5. High · 7.5 CVE-2019-12474 >= 1.27.0, < 1.27.6, >= 1.30.0, < 1.30.2, >= 1.31.0, < 1.31.2, >= 1.32.0, < 1.32.2 1.27.6, 1.30.2, 1.31.2, 1.32.2
  6. High · 7.5 CVE-2019-12473 >= 1.27.0, < 1.27.6, >= 1.30.0, < 1.30.2, >= 1.31.0, < 1.31.2, >= 1.32.0, < 1.32.2 1.27.6, 1.30.2, 1.31.2, 1.32.2
  7. High · 7.5 CVE-2019-12472 >= 1.18.0, < 1.27.6, >= 1.30.0, < 1.30.2, >= 1.31.0, < 1.31.2, >= 1.32.0, < 1.32.2 1.27.6, 1.30.2, 1.31.2, 1.32.2
  8. High · 8.8 CVE-2019-12466 >= 1.27.0, < 1.27.6, >= 1.30.0, < 1.30.2, >= 1.31.0, < 1.31.2, >= 1.32.0, < 1.32.2 1.27.6, 1.30.2, 1.31.2, 1.32.2
  9. Critical · 9.8 CVE-2019-12468 >= 1.27.0, < 1.27.6, >= 1.30.0, < 1.30.2, >= 1.31.0, < 1.31.2, >= 1.32.0, < 1.32.2 1.27.6, 1.30.2, 1.31.2, 1.32.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.