CVE-2025-34157: Coolify Stored Cross-Site Scripting (XSS) in Project Name Field
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a stored cross-site scripting (XSS) attack in the project creation workflow. An authenticated user with low privileges can create a project with a maliciously crafted name containing embedded JavaScript. When an administrator attempts to delete the project or its associated resource, the payload executes in the admin’s browser context. This results in full compromise of the Coolify instance, including theft of API tokens, session cookies, and access to WebSocket-based terminal sessions on managed servers.
Security readout for executives and security teams
Plain-English summary
Coolify had a stored XSS flaw where a low-privileged authenticated user could plant script in a project name. When an administrator later deleted that project or resource, the script could run with admin browser privileges, risking takeover of the Coolify instance and connected server access.
Executive priority
Treat this as urgent where Coolify manages production infrastructure. A successful attack could convert a low-privilege account into administrative control over deployment infrastructure and managed servers.
Technical view
The bundle describes stored XSS in Coolify project creation before v4.0.0-beta.420.6, triggered during administrator deletion flows. Impact includes token or cookie theft and access to WebSocket terminal sessions. CVSS 4.0 is 9.4 with low attack complexity, low privileges required, and user interaction by an admin.
Likely exposure
Exposure is likely limited to organizations running Coolify versions before the fixed beta release and allowing non-admin authenticated users to create projects. Internet-facing or shared-team Coolify instances have higher practical risk.
Exploitation context
The CVE is not listed as KEV in the bundle, so active exploitation is not established. A public technical/exploit reference is cited, which raises urgency, but the provided evidence does not prove real-world exploitation.
Researcher notes
Key evidence comes from the CVE description, CVSS vector, vendor release reference, and public technical repository. The affected version data in the bundle is sparse, so version confirmation should rely on vendor release notes and local inventory.
Mitigation direction
Upgrade Coolify to the vendor-recommended fixed release, referenced as v4.0.0-beta.420.7.
Restrict project creation to trusted users until patched.
Review Coolify sessions, API tokens, and administrator activity after remediation.
Rotate exposed tokens or credentials if suspicious project names or admin actions are found.
Check vendor guidance for any additional cleanup steps.
Validation and detection
Inventory Coolify instances and record exact running versions.
Confirm whether any instance is older than the fixed vendor release.
Review project names for unexpected script-like content.
Check audit logs for low-privilege project creation followed by administrator deletion actions.
Verify patched instances no longer render project names as executable script.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-20: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.