GHSA-x6vr-q3vf-vqgq

Suggest an improvement
Source
https://github.com/advisories/GHSA-x6vr-q3vf-vqgq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-x6vr-q3vf-vqgq/GHSA-x6vr-q3vf-vqgq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x6vr-q3vf-vqgq
Aliases
Published
2025-11-25T23:53:04Z
Modified
2025-11-27T09:16:28.229574Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
REDAXO CMS is vulnerable to Reflected XSS in Mediapool Info Banner via args[types]
Details

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') . ' <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>
  3. 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.

Database specific
{
    "nvd_published_at": "2025-11-26T03:15:58Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2025-11-25T23:53:04Z"
}
References

Affected packages

Packagist / redaxo/source

Package

Name
redaxo/source
Purl
pkg:composer/redaxo/source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.20.1

Affected versions

5.*

5.10.0-beta1
5.10.0-beta2
5.10.0
5.10.1
5.11.0-beta1
5.11.0
5.11.1
5.11.2
5.12.0-beta1
5.12.0-beta2
5.12.0-beta3
5.12.0
5.12.1
5.13.0-beta1
5.13.0-beta2
5.13.0
5.13.1
5.13.2
5.13.3
5.14.0-beta1
5.14.0-beta2
5.14.0
5.14.1
5.14.2
5.14.3
5.15.0-beta1
5.15.0
5.15.1
5.16.0-beta1
5.16.0
5.16.1
5.17.0
5.17.1
5.18.0
5.18.1
5.18.2
5.18.3
5.19.0
5.20.0