CVE-2025-66026: REDAXO is Vulnerable to Reflected XSS in Mediapool Info Banner via args[types]
Summary A reflected Cross-Site Scripting (XSS) vulnerability exists in the Mediapool view where the request parameter args[types] is rendered into an info banner without HTML-escaping. This allows arbitrary JavaScript execution in the backend context when an authenticated user visits a crafted link while logged in.
Details
Control Flow:
1. redaxo/src/addons/mediapool/pages/index.php reads args via rexrequest('args', 'array') and passes them through as $argUrl to media.list.php. 2. redaxo/src/addons/mediapool/pages/media.list.php injects $argUrl['args']['types'] into an HTML string without escaping:
if (!empty($argUrl['args']['types'])) { echo rexview::info(rexi18n::msg('poolfilefilter') . ' <code>' . $argUrl['args']['types'] . '</code>'); }
PoC
1. Log into the REDAXO backend. 2. While authenticated, open a crafted URL like: <host>/index.php?page=mediapool/media&args[types]="><img+src%3Dx+onerror%3Dalert%28document.domain%29> 4. The info banner displays the unescaped value and activates the injected onerror handler, which opens an alert pop-up.
Impact Arbitrary JavaScript execution in the backend, enabling theft of session cookies, CSRF tokens, or other sensitive data, and allowing an attacker to perform any administrative actions on behalf of the affected user.
Other sources
REDAXO is a PHP-based CMS. Prior to version 5.20.1, a reflected Cross-Site Scripting (XSS) vulnerability exists in the Mediapool view where the request parameter args[types] is rendered into an info banner without HTML-escaping. This allows arbitrary JavaScript execution in the backend context when an authenticated user visits a crafted link while logged in. This issue has been patched in version 5.20.1.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-66026?
CVE-2025-66026 is classified as a reflected Cross-Site Scripting (XSS) vulnerability.
How do I fix CVE-2025-66026?
To fix CVE-2025-66026, upgrade to version 5.20.1 or later of the redaxo/source package.
Which versions are affected by CVE-2025-66026?
CVE-2025-66026 affects all versions prior to 5.20.1 of the redaxo/source package.
What are the consequences of exploiting CVE-2025-66026?
Exploiting CVE-2025-66026 allows an attacker to execute arbitrary JavaScript in the context of an authenticated user.
Where does CVE-2025-66026 occur within the application?
CVE-2025-66026 occurs in the Mediapool view where the request parameter 'args[types]' is rendered without proper HTML-escaping.