CVE-2025-57520
JSON

6.1medium

Decap CMS Cross Site Scripting (XSS) vulnerability

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-xp8g-32qh-mv28

Description

A Cross Site Scripting (XSS) vulnerability exists in Decap CMS thru 3.8.3. Input fields such as body, tags, title, and description are not properly sanitized before being rendered in the content preview pane. This enables an attacker to inject arbitrary JavaScript which executes whenever a user views the preview panel. The vulnerability affects multiple input vectors and does not require user interaction beyond viewing the affected content.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
decap-cms (npm)up to 3.8.3GitHub Advisory Database
techhub.p-m decap_cmsup to 3.8.3NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

A Cross Site Scripting (XSS) vulnerability exists in Decap CMS thru 3.8.3. Input fields such as body, tags, title, and description are not properly sanitized before being rendered in the content preview pane. This enables an attacker to inject arbitrary JavaScript which executes whenever a user views the preview panel. The vulnerability affects multiple input vectors and does not require user interaction beyond viewing the affected content.

GitHub Advisory Database

Decap CMS through 3.8.3 is vulnerable to stored Cross-Site Scripting (XSS) in the admin preview pane. User-controlled fields (e.g., title, description, tags, and body) are rendered in the preview without sufficient sanitization/escaping. An attacker with low-privilege author/contributor access can persist a JavaScript payload in content; when a maintainer or reviewer opens the preview, the payload executes in the CMS admin origin, enabling token/session theft or the execution of privileged actions via the DOM. The issue affects multiple input vectors and requires only passive interaction from the previewing user. As no patched version is available, administrators should restrict untrusted contributor roles and filter or disable preview rendering of untrusted HTML.

NVD (es)

Existe una vulnerabilidad de Cross Site Scripting (XSS) en Decap CMS hasta la versión 3.8.3. Los campos de entrada como cuerpo, etiquetas, título y descripción no se sanean correctamente antes de ser renderizados en el panel de vista previa del contenido. Esto permite a un atacante inyectar JavaScript arbitrario que se ejecuta cada vez que un usuario ve el panel de vista previa. La vulnerabilidad afecta a múltiples vectores de entrada y no requiere interacción del usuario más allá de ver el contenido afectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-57520 changed 2025-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-xp8g-32qh-mv28 changed 2025-09-23CC-BY-4.0
NVDCVE-2025-57520 changed 2026-06-17Public domain