Advisory

GHSA-xp8g-32qh-mv28

Also known as: CVE-2025-57520

Summary

Decap CMS Cross Site Scripting (XSS) vulnerability

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-09-10 18:30 UTC
Modified
2025-09-23 20:24 UTC

Affected packages and fixes

decap-cms

npm · All systems

Affected

  • introduced 0, last affected 3.8.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences