CVE-2025-27411: Redaxo/source REDAXO Allows Arbitrary File Upload Vulnerability

MODERATE
Advisory Identifier: GHSA-wppf-gqj5-fc4f
CVSS 5.4
CWE-434
Published
Advisory Summary

CVE-2025-27411 is a MODERATE (CVSS 5.4) redaxo allows arbitrary file upload vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Redaxo/source libraries in the Packagist ecosystem. The issue involves redaxo allows arbitrary file upload in the mediapool page. Remediation is available by upgrading affected packages to version 5.18.3.

CVE-2025-27411 at a Glance

CVE Identifier CVE-2025-27411
GHSA Identifier GHSA-wppf-gqj5-fc4f
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Redaxo/source
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.4

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-27411

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-27411, 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-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. 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 An arbitrary file upload vulnerability was identified in the redaxo. This flaw permits users to upload malicious files, which can lead to JavaScript code execution and distribute malware. ### Details On the latest version of Redaxo, v5.18.2, the mediapool/media page is vulnerable to arbitrary file upload. ### PoC 1. Log in to the portal then navigate to `Mediapool`. 2. Upload a png file (ex: poc.png) ![1](https://github.com/user-attachments/assets/e9165434-d2cd-437b-87a3-f9527d4f3070) 3. Intercept the upload HTTP request on burp suite and change `filename: poc.1html`, `Content-Type:image/html` and insert the malicious html code. (ex: `<IFRAME SRC="javascript:alert(1);"></IFRAME>`) ![2](https://github.com/user-attachments/assets/f8da0e6b-e807-46be-a867-dc31b1e13e57) 4. Forward the request. 5. Navigate to the file. ![3](https://github.com/user-attachments/assets/4c44c5cf-8467-452d-b249-cf2d72e0d328) ![4](https://github.com/user-attachments/assets/29db80e3-a5b9-4354-a292-c1ae7189931a) ### Impact Exploiting an arbitrary file upload vulnerability enables attackers to execute malicious code on a server.

CVE-2025-27411 Affected Redaxo/source Versions

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

References

Frequently Asked Questions

What is CVE-2025-27411?
CVE-2025-27411 is a security vulnerability in Redaxo/source involving REDAXO allows Arbitrary File Upload in the mediapool page under CWE-434: Unrestricted Upload of File with Dangerous Type.
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-27411?
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-27411?
CVE-2025-27411 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-27411?
CVE-2025-27411 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check Packagist dependencies for CVE-2025-27411?
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-wppf-gqj5-fc4f",
  "modified" : "2025-03-05T19:30:37Z",
  "published" : "2025-03-05T18:31:35Z",
  "aliases" : [ "CVE-2025-27411" ],
  "summary" : "REDAXO allows Arbitrary File Upload in the mediapool page",
  "details" : "### Summary\nAn arbitrary file upload vulnerability was identified in the redaxo. This flaw permits users to upload malicious files, which can lead to JavaScript code execution and distribute malware. \n\n### Details\nOn the latest version of Redaxo, v5.18.2, the mediapool/media page is vulnerable to  arbitrary file upload.\n\n### PoC\n1. Log in to the portal then navigate to `Mediapool`.\n2. Upload a png file (ex: poc.png)\n\n![1](https://github.com/user-attachments/assets/e9165434-d2cd-437b-87a3-f9527d4f3070)\n\n\n3. Intercept the upload HTTP request on burp suite and change `filename: poc.1html`,  `Content-Type:image/html` and insert the malicious html code. (ex: `<IFRAME SRC=\"javascript:alert(1);\"></IFRAME>`) \n\n![2](https://github.com/user-attachments/assets/f8da0e6b-e807-46be-a867-dc31b1e13e57)\n\n4. Forward the request.\n\n5. Navigate to the file.\n\n![3](https://github.com/user-attachments/assets/4c44c5cf-8467-452d-b249-cf2d72e0d328)\n![4](https://github.com/user-attachments/assets/29db80e3-a5b9-4354-a292-c1ae7189931a)\n\n\n### Impact\nExploiting an arbitrary file upload vulnerability enables attackers to execute malicious code on a server.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "redaxo/source"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.18.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/redaxo/redaxo/security/advisories/GHSA-wppf-gqj5-fc4f"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27411"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/redaxo/redaxo/commit/3b2159bb45da0ab6cfaef5c8cf8b602ee5e2fb37"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/redaxo/redaxo"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-05T18:31:35Z",
    "nvd_published_at" : "2025-03-05T16:15:40Z"
  }
}