First published: Wed Mar 05 2025(Updated: )
### Summary Reflected cross-site scripting (XSS) is a type of web vulnerability that occurs when a web application fails to properly sanitize user input, allowing an attacker to inject malicious code into the application's response to a user's request. When the user's browser receives the response, the malicious code is executed, potentially allowing the attacker to steal sensitive information or take control of the user's account. ### Details On the latest version of Redaxo, v5.18.2, the rex-api-result parameter is vulnerable to Reflected cross-site scripting (XSS) on the page of AddOns. ### PoC 1. Login Redaxo as administrative user. 2. Navigate to the URL: [http://localhost/redaxo/index.php?page=packages&rex-api-call=package&&rex-api-result={%22succeeded%22%3Atrue%2C%22message%22%3A%22%3Cimg%20src=x%20onerror=alert(document.domain);%3E%22}](http://localhost/redaxo/index.php?page=packages&rex-api-call=package&&rex-api-result=%7B%22succeeded%22%3Atrue%2C%22message%22%3A%22%3Cimg%20src=x%20onerror=alert(document.domain);%3E%22%7D), the XSS executes.  ### Impact This can lead to various security risks, including session hijacking, phishing attacks and malware distribution. History page visible to administrative user and when an administrator views the infected page, the attacker may gain elevated privileges, further compromising the system.
Affected Software | Affected Version | How to fix |
---|---|---|
composer/redaxo/source | >=5.0.0<5.18.3 | 5.18.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
GHSA-8366-xmgf-334f is classified as a high severity vulnerability due to its potential for allowing cross-site scripting attacks.
To fix GHSA-8366-xmgf-334f, upgrade to the latest version of redaxo/source that is greater than 5.18.3.
GHSA-8366-xmgf-334f is a reflected cross-site scripting (XSS) vulnerability.
If exploited, GHSA-8366-xmgf-334f can allow attackers to inject malicious scripts into web pages viewed by users.
Versions of redaxo/source from 5.0.0 to 5.18.3 are affected by GHSA-8366-xmgf-334f.