CVE-2020-25911
PHP vulnerability analysis and mitigation

Overview

A XML External Entity (XXE) vulnerability (CVE-2020-25911) was discovered in the modRestServiceRequest component in MODX CMS 2.7.3. The vulnerability was disclosed on October 31, 2021, affecting MODX Revolution CMS version 2.7.3. This security flaw could potentially lead to information disclosure or denial of service (DOS) attacks (NVD, CVE).

Technical details

The vulnerability exists in the core/model/modx/rest/modrestservice.class.php file, specifically in the collectRequestParameters function. When processing content with the text/xml content type, user input is parsed directly without proper sanitization using simplexmlloadstring(), leading to potential XXE attacks. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (CRITICAL) and a CVSS v2.0 base score of 6.4 (MEDIUM) (NVD, [Github Disclosure](https://github.com/dahua966/Vuldisclose/blob/main/XXE_modxcms.md)).

Impact

The exploitation of this vulnerability could result in unauthorized information disclosure or denial of service (DOS) attacks. Due to the nature of XXE vulnerabilities, attackers could potentially access sensitive system files or cause service disruption through resource exhaustion (NVD).

Mitigation and workarounds

The vulnerability has been addressed in subsequent versions of MODX CMS. Users are advised to upgrade to a patched version of the software. The fix involves implementing proper XML parsing security controls (Github Issue).

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-2025-65854CRITICAL9.8
  • PHPPHP
  • mineadmin/mineadmin
NoNoDec 12, 2025
CVE-2024-58303HIGH8.6
  • PHPPHP
  • fof/pretty-mail
NoNoDec 11, 2025
CVE-2025-67719HIGH8.5
  • PHPPHP
  • ibexa/user
NoYesDec 11, 2025
CVE-2025-67648HIGH7.1
  • PHPPHP
  • shopware/shopware
NoYesDec 11, 2025
CVE-2025-67737LOW3.1
  • PHPPHP
  • azuracast/azuracast
NoYesDec 12, 2025

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