{"id":"CVE-2025-57520","aliases":["CVE-2025-57520","GHSA-xp8g-32qh-mv28"],"related":[],"kind":"vulnerability","state":"published","title":"Decap CMS Cross Site Scripting (XSS) vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-09-10T00:00:00.000Z","modified":"2026-06-17T09:43:10.303Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"3.8.3"}],"ecosystem":"npm","package":"decap-cms","purl":"pkg:npm/decap-cms","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.8.3"}],"vendor":"techhub.p-m","product":"decap_cms","cpe":"cpe:2.3:a:techhub.p-m:decap_cms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://onurcangenc.com.tr/blog/decap-cms-xss-analysis","tags":["broken-link"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decaporg/decap-cms","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://onurcangenc.com.tr/posts/cve-2025-57520--stored-xss-in-decap-cms-3-8-3/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57520","tags":["advisory"],"sources":["ghsa"]},{"url":"https://onurcangenc.com.tr/posts/cve-2025-57520--stored-xss-in-decap-cms-3-8-3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-11T18:22:54.365Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-57520","url":"https://www.cve.org/CVERecord?id=CVE-2025-57520","licence":"CVE Terms of Use","modified":"2025-09-11T18:26:06.358Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xp8g-32qh-mv28","url":"https://github.com/advisories/GHSA-xp8g-32qh-mv28","licence":"CC-BY-4.0","modified":"2025-09-23T20:24:42.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-57520","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57520","licence":"Public domain","modified":"2026-06-17T09:43:10.303Z"}],"updatedAt":"2026-11-25T22:59:04.501Z","epss":{"score":0.00369,"percentile":0.32745,"date":"2026-12-01T12:00:22.000Z"}}