+ "details": "### Summary\nA 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.\n\n### Details\n\nControl Flow:\n\n1. `redaxo/src/addons/mediapool/pages/index.php` reads args via `rex_request('args', 'array')` and passes them through as `$argUrl` to `media.list.php`.\n2. `redaxo/src/addons/mediapool/pages/media.list.php` injects `$argUrl['args']['types']` into an HTML string without escaping:\n\n```\nif (!empty($argUrl['args']['types'])) {\n echo rex_view::info(rex_i18n::msg('pool_file_filter') . ' <code>' . $argUrl['args']['types'] . '</code>');\n}\n```\n\n### PoC\n\n1. Log into the REDAXO backend.\n2. While authenticated, open a crafted URL like: `<host>/index.php?page=mediapool/media&args[types]=\"><img+src%3Dx+onerror%3Dalert%28document.domain%29>`\n4. The info banner displays the unescaped value and activates the injected onerror handler, which opens an alert pop-up.\n\n### Impact\nArbitrary 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.",
0 commit comments