CVE-2025-27412: Redaxo/source REDAXO Allows Authenticated Reflected Cross Vulnerability

MODERATE
Advisory Identifier: GHSA-8366-xmgf-334f
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-2025-27412 is a MODERATE (CVSS 6.1) redaxo allows authenticated reflected cross vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Redaxo/source libraries in the Packagist ecosystem. The issue involves redaxo allows authenticated reflected cross site scripting - packages installation. Remediation is available by upgrading affected packages to version 5.18.3.

CVE-2025-27412 at a Glance

CVE Identifier CVE-2025-27412
GHSA Identifier GHSA-8366-xmgf-334f
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Redaxo/source
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2025-27412

To remediate this vulnerability, upgrade all affected Redaxo/source dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

redaxo/source fixed: 5.18.3
Upgrade redaxo/source to 5.18.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for redaxo/source

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-27412, inspect your project dependencies for Redaxo/source:

inspect dependencies for redaxo/source

Analyze the terminal output to locate any version of Redaxo/source in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.18.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Redaxo/source, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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. ![2025-02-14_13-45](https://github.com/user-attachments/assets/1cb0f01a-7562-473b-8101-1bc59532e746) ### 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.

CVE-2025-27412 Affected Redaxo/source Versions

1 component(s)
Fixed Versions:
5.18.3
Product / Package Ecosystem Affected Versions Fixed Version
redaxo/source
Packagist
≥ 5.0.0
< 5.18.3
5.18.3

References

Frequently Asked Questions

What is CVE-2025-27412?
CVE-2025-27412 is a security vulnerability in Redaxo/source involving REDAXO allows Authenticated Reflected Cross Site Scripting - packages installation under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Redaxo/source versions are affected?
Affected versions include releases prior to 5.18.3 across affected packages: redaxo/source.
What version fixes CVE-2025-27412?
Upgrading to 5.18.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is redaxo/source affected?
Yes, redaxo/source is affected in releases prior to 5.18.3. Upgrade your dependency to 5.18.3 or later.
What is the CVSS score of CVE-2025-27412?
CVE-2025-27412 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-27412?
CVE-2025-27412 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2025-27412?
Run the dependency tree command: 'inspect dependencies for redaxo/source'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8366-xmgf-334f",
  "modified" : "2025-03-05T19:03:08Z",
  "published" : "2025-03-05T19:03:08Z",
  "aliases" : [ "CVE-2025-27412" ],
  "summary" : "REDAXO allows Authenticated Reflected Cross Site Scripting - packages installation",
  "details" : "### Summary\nReflected 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.\n\n### Details\nOn 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.\n\n### PoC\n1. Login Redaxo as administrative user.\n2. 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.\n\n![2025-02-14_13-45](https://github.com/user-attachments/assets/1cb0f01a-7562-473b-8101-1bc59532e746)\n\n\n### Impact\nThis 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "redaxo/source"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.18.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/redaxo/redaxo/security/advisories/GHSA-8366-xmgf-334f"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27412"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/redaxo/redaxo"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-05T19:03:08Z",
    "nvd_published_at" : "2025-03-05T16:15:40Z"
  }
}