CVE-2025-4011 Redmine Custom Query cross site scripting

Medium 5.1 Published Updated

Remote attackers can inject malicious scripts via the Custom Query Name field in Redmine, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-4011?

CVE-2025-4011 is a medium-severity cross-site scripting vulnerability in Redmine, published on 28 Apr 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A vulnerability has been found in Redmine 6.0.0/6.0.1/6.0.2/6.0.3 and classified as problematic. This vulnerability affects unknown code of the component Custom Query Handler. The manipulation of the argument Name leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 6.0.4 is able to address this issue. It is recommended to upgrade the affected component.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-4011?

How do I fix CVE-2025-4011?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-4011 being exploited?

There is no known exploitation of CVE-2025-4011 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-4011, GHSA-hhw5-9q3f-7w82, UBUNTU-CVE-2025-4011.

Is CVE-2025-4011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free