# CVE-2025-34157: Coolify Stored Cross-Site Scripting (XSS) in Project Name Field

Status: published. Published: 2025-08-27. Updated: 2026-11-08.

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.

## Remediation

- fix: The project maintainer has confirmed that this vulnerability was remediated in version 4.0.0.-beta.420.7 despite not being acknowledged in the release notes. (source: CNA: VulnCheck)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.420.7

## Affected products and versions

- coolLabs Technologies / Coolify (coollabsio/coolify): ≥ 0; < 4.0.0.-beta.420.7 (affected, custom). Source: CNA: VulnCheck

## Severity and prioritization

- 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; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 0.48% as of 2026-11-08; percentile 41.73%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-79, CWE-20

## Exploit evidence

- exploit: https://github.com/Eyodav/CVE-2025-34157 (CNA: VulnCheck)

## References

- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.420.7 (CNA: VulnCheck; vendor-advisory, patch, release-notes)

- https://coolify.io/ (CNA: VulnCheck; product)

- https://github.com/Eyodav/CVE-2025-34157 (CNA: VulnCheck; technical-description, exploit)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2025-34157; retrieved 2026-11-08; source updated 2026-11-08

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-34157; retrieved 2026-11-08; source updated Not reported

Revision: 9287ad54cff8db6668b907004e3c67aa8575c47363586a6a94b3bd3dad71d2b3

Canonical: https://y2.dev/cve/CVE-2025-34157

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.