GitHub Advisoryadvisory · Packagist

GHSA-x6vr-q3vf-vqgq REDAXO CMS is vulnerable to Reflected XSS in Mediapool Info Banner via args[types]

MEDIUM Published 2025-11-25 Modified 2025-11-27 Official page ↗
Aliases
CVE-2025-66026
Ecosystem
Packagist
Packages
redaxo/source
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2025-11-25

Affected packages

• Packagist redaxo/source: < 5.20.1 → fixed in 5.20.1

Description

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 `rex_request('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 rex_view::info(rex_i18n::msg('pool_file_filter') . ' ' . $argUrl['args']['types'] . ''); } ``` PoC 1. Log into the REDAXO backend. 2. While authenticated, open a crafted URL like: `/index.php?page=mediapool/media&args[types]=">` 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.

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References