# CVE-2025-59158: Coolify has Stored XSS in Project Name

- Severity: Critical 9.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-05T17:44:41.498Z
- Modified: 2026-10-07T10:10:00.213Z
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Coolify versions prior to and including 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 (e.g., member role) can create a project with a maliciously crafted name containing embedded JavaScript. When an administrator later attempts to delete the project or its associated resource, the payload automatically executes in the admin’s browser context. Version 4.0.0-beta.420.7 contains a patch for the issue.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.420.7
- coollabs coolify: before 4.0.0; 4.0.0

## Every score

- GitHub_M: CVSS:4.0 9.4 Critical `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`
- NVD: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-h52r-jxv9-9vhf> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-59158](https://www.cve.org/CVERecord?id=CVE-2025-59158), CVE Terms of Use, modified 2026-01-05
- NVD: [CVE-2025-59158](https://nvd.nist.gov/vuln/detail/CVE-2025-59158), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-59158 · Whole record: https://cve.day/CVE-2025-59158.json · Rebuilt by cve.day 2026-11-25T22:59:10.285Z
