All vulnerabilities

Servers and applications

GHSA-5293-gg47-5xmh

Reflected cross-site scripting in the media pool via the opener_link parameter

Severity
Medium 5.1
Published
31 Jul 2026
Last changed
31 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.21.3
Weakness
Cross-site scripting (CWE-79)Improper output encoding (CWE-116)
Attack
Over the network · No login needed · Needs someone to click or open something
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Sources
Project advisories (GitHub)

Description

The opener_link request parameter of the backend media pool was read from the request without HTML escaping and appended to the panel title of the media detail page, which is rendered as raw HTML. Arbitrary HTML and JavaScript passed in opener_link was therefore injected into the backend DOM and executed.

Both variants of the detail page are affected: edit mode (users with write permission on the media category) and read-only mode.

Exploitation requires a logged-in backend user with media permissions to open a crafted link:

Two conditions apply:

  • opener_input_field must be absent from the request. When it is present, the code overwrites opener_link with a safe, server-side generated link.
  • file_id must point to an existing media file, otherwise the detail page bails out before reaching the sink. In practice this is trivial, since media IDs are sequential and start at 1.

The attacker does not need an account of their own.

From redaxo/core's security advisory. Shortened; the full text is there.

Workarounds

If you cannot upgrade immediately, strip or block the opener_link query parameter for backend requests at the web server or reverse proxy level.

Note that the REDAXO backend only sends Content-Security-Policy: frame-ancestors 'self', so there is no script CSP that would have blocked the injected inline event handler. Adding a restrictive script CSP is worthwhile as defense in depth, but on its own it is not a reliable mitigation for this issue.

Workarounds as given by redaxo/core's security advisory.

Affected software

SoftwareAffected versions
REDAXOServers and applications · github:redaxo/core
  • Every version before 5.21.3

About REDAXO

Content management system

From Wikidata, CC0 1.0.
GitHub stars
356GitHub, 15 Nov 2026
Forks
115GitHub, 15 Nov 2026
Latest release
5.21.6GitHub, 15 Nov 2026
Released
25 Oct 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
4 Jul 2010GitHub

References