CVE-2020-25828
PHP vulnerability analysis and mitigation

Overview

CVE-2020-25828 is a security vulnerability in MediaWiki that affects the non-jqueryMsg version of mw.message().parse() function. The vulnerability was disclosed on September 24, 2020, as part of MediaWiki's security and maintenance release for versions 1.31.9 and 1.34.3. This vulnerability affects multiple versions of MediaWiki software and could lead to Cross-Site Scripting (XSS) attacks due to improper HTML escaping (MediaWiki List).

Technical details

The vulnerability exists in MediaWiki's JavaScript message parsing functionality, specifically in the mediawiki.js component. The issue occurs because the non-jqueryMsg version of mw.message().parse() doesn't properly escape HTML content, which could lead to potential XSS vulnerabilities. The vulnerability is tracked as task T115888 in MediaWiki's issue tracking system (MediaWiki List).

Impact

The vulnerability could allow attackers to execute cross-site scripting (XSS) attacks through unescaped HTML content in message parsing. This could potentially lead to unauthorized access to user data or execution of malicious scripts in users' browsers (MediaWiki List).

Exploitability

The vulnerability requires the ability to input content that would be processed by the affected message parsing function. No specific details about exploitation in the wild have been publicly disclosed (MediaWiki List).

Mitigation and workarounds

The vulnerability was patched in MediaWiki versions 1.31.9, 1.34.3, and subsequent releases. Users are advised to upgrade to these versions or later. Additionally, a follow-up maintenance release (versions 1.31.10 and 1.34.4) was issued to fix issues with the backports in the initial security release (MediaWiki List).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management