~ / search / GHSA-xp8g-32qh-mv28

GHSA-xp8g-32qh-mv28

Decap CMS Cross Site Scripting (XSS) vulnerability

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-57520

Packages

EcosystemPackageAffectedFixed in
npm decap-cms <= 3.8.3 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.