llamaCVEVulnerability Intelligence
/
Craft CMS

CVE-2025-35939

Craft CMS unauthenticated content injection into session files

An unauthenticated attacker can write arbitrary content, such as PHP code, into server session files.

CISA KEV · explotación activaCrítica · en CISA KEVParche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Fuente: CNA
ExplotaciónActivaEn CISA KEV desde 2 jun 2025
Exploits públicos0Explotada, pero sin código público enlazado
Parche2 versiones4.15.3 · 5.7.5
Exposición563 dDesde la divulgación, 7 may 2025, 5:41 p. m.
Detección532 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaAtender
Priorizar en el próximo ciclo de cambios
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): explotación activa (CISA KEV), automatizable e impacto técnico parcial. Plazo KEV: 23 jun 2025.
Mi radar llamuno marca riesgo alto. Confía.Te miro fijo: agenda esa ventana de cambio.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Remediación
Plazo KEV
Monitoreo
Detectada
Verificada
7 may 25
2 jun 25
23 jun 25
26 feb 26
22 oct 26
14 nov 26
22 nov 26
7 may 25
25 sept 25
13 feb 26
4 jul 26
22 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2025-35939 divulgada · CVSS 5.3 (CNA)
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Análisis de Llama Security · 13 nov 2026

Craft CMS has a flaw that lets an attacker write arbitrary content, such as PHP or HTML code, into session data by putting it in the return URL of a login redirect, remotely and without logging in. The maintainers say it cannot be exploited by itself as far as they know, but it is listed as exploited in attacks.

Affects Craft CMS 4.x before 4.15.3 and 5.x before 5.7.5, where the requested return URL is saved to the PHP session unsanitized. Fixed in 4.15.3 and 5.7.5.

¿Quién está afectado?Craft CMS 4.x before 4.15.3 and 5.x before 5.7.5 are listed as affected. Craft 3.x is also affected but is out of security support. The installed version can be checked in the Craft control panel or with the project's Composer package version for craftcms/cms.
¿Qué hacer?Upgrade Craft CMS to 4.15.3 or later on the 4.x line, or to 5.7.5 or later on the 5.x line. The fix sanitizes return URLs before they are saved to the PHP session. Craft 3.x is out of security support, so moving to a supported major version is needed.
Descripción original del registro

Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at '/var/lib/php/sessions'. Such session files are named 'sess_[session_value]', where '[session_value]' is provided to the client in a 'Set-Cookie' response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known local file location on the server. Craft CMS versions 5.7.5 and 4.15.3 have been released to address this issue.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Craft CMS 4.x before 4.15.3 or 5.x before 5.7.5, where the requested return URL is saved to the PHP session without sanitizing“Return URLs are now sanitized before being saved to the PHP session.”
02
Craft 3.x is also affected, but is out of security support“it is affected, but it is also a trivial “vulnerability”, that, as far as we know, cannot be exploited by itself.”
¿Quién debe revisar?Teams running Craft CMS 4.x (before 4.15.3) or 5.x (before 5.7.5); Craft 3.x is also affected but no longer receives security fixes.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
CMS · craftcms/cms< 4.15.3
CMS< 5.7.5
craftcms/cms≥ 5.0.0-alpha.1 < 5.7.5
4.15.3
5.0.0-alpha.1
5.7.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
CMS
Corregida 4.15.3, 5.7.5 — —
Versiones corregidas4.15.35.7.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/craftcms/cms/pull/17220
Otrahttps://github.com/craftcms/cms/releases/tag/4.15.3
Otrahttps://github.com/craftcms/cms/releases/tag/5.7.5
Otrahttps://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-147-01.json
recordhttps://www.cve.org/CVERecord?id=CVE-2025-35939

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.