# CVE-2025-57520: Decap CMS Cross Site Scripting (XSS) vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-10T00:00:00.000Z
- Modified: 2026-06-17T09:43:10.303Z
- Also known as: GHSA-xp8g-32qh-mv28
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- decap-cms (npm): up to 3.8.3
- techhub.p-m decap_cms: up to 3.8.3

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://onurcangenc.com.tr/posts/cve-2025-57520--stored-xss-in-decap-cms-3-8-3/> (exploit, third-party-advisory)
- <https://onurcangenc.com.tr/blog/decap-cms-xss-analysis> (broken-link)
- <https://github.com/decaporg/decap-cms> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57520> (advisory)
- <https://onurcangenc.com.tr/posts/cve-2025-57520--stored-xss-in-decap-cms-3-8-3> (web)

## Sources

- CVE List: [CVE-2025-57520](https://www.cve.org/CVERecord?id=CVE-2025-57520), CVE Terms of Use, modified 2025-09-11
- GitHub Advisory Database: [GHSA-xp8g-32qh-mv28](https://github.com/advisories/GHSA-xp8g-32qh-mv28), CC-BY-4.0, modified 2025-09-23
- NVD: [CVE-2025-57520](https://nvd.nist.gov/vuln/detail/CVE-2025-57520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57520 · Whole record: https://cve.day/CVE-2025-57520.json · Rebuilt by cve.day 2026-11-25T22:59:04.501Z
