CVE-2025-34157CWE-20CWE-79

Coolify Stored Cross-Site Scripting (XSS) in Project Name Field

Critical · published August 27, 2025

CVSS v4.0
9.4
EPSS
0%
Percentile
39.1
In the wild
Unconfirmed
What it is

🚨 An authenticated user can turn a simple project name into a weapon in Coolify! This stored XSS vulnerability allows low-privileged users to execute malicious scripts when admins manage projects. 🔥 Imagine a guest at a party sneaking a prank note into the host's guestbook. When the host reads it aloud, the prank explodes into laughter, but it could just as easily trigger chaos if the note contained something harmful. That's how this XSS flaw can play out for administrators! With this vulnerability, an attacker can steal sensitive information from the admin's browser, including API tokens and session cookies. This means they could take full control of your Coolify instance, leading to data breaches and unauthorized access to managed servers. Pretty devastating!

Put simply

Imagine a guest at a party sneaking a prank note into the host's guestbook. When the host reads it aloud, the prank explodes into laughter, but it could just as easily trigger chaos if the note contained something harmful. That's how this XSS flaw can play out for administrators! This CVE-2025-34157 is a stored XSS vulnerability in Coolify versions before 4.0.0-beta.420.6, allowing an authenticated low-privileged user to inject JavaScript in project names, which executes in the context of an administrator when managing projects.

What to do

With this vulnerability, an attacker can steal sensitive information from the admin's browser, including API tokens and session cookies. This means they could take full control of your Coolify instance, leading to data breaches and unauthorized access to managed servers. Pretty devastating! To protect yourself, immediately upgrade Coolify to version 4.0.0-beta.420.6 or later. Additionally, review user permissions and consider implementing input sanitization to prevent future exploits. Don't wait on this! You're on the right path to securing your application! Follow these steps and you'll have this locked down in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.00462 · 39.1th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-08-27T16:48Z
EPSS history
Timeline
  • 27 AUG 16:48Z
    Coolify Stored Cross-Site Scripting (XSS) in Project Name Field
    cvelistv5