CVE-2025-57520
MEDIUM 6.1CVSS 3.1Decap CMS Cross Site Scripting (XSS) vulnerability
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.
- Published
- 10 Sep 2025
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-xp8g-32qh-mv28
- Sources
- NVDJSONOSV GHSA-xp8g-32qh-mv28JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | techhub.p-m | decap_cmscpe:2.3:a:techhub.p-m:decap_cms:*:*:*:*:*:*:*:* |
<= 3.8.3 | |
| OSV | npm | decap-cms | <= 3.8.3 |
References
- https://github.com/decaporg/decap-cms · Product, PACKAGE
- https://onurcangenc.com.tr/blog/decap-cms-xss-analysis · Broken Link
- https://onurcangenc.com.tr/posts/cve-2025-57520--stored-xss-in-decap-cms-3-8-3/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57520 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2025)