6.5medium
Improper Input Validation in strapi
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.67% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-65wv-528r-m892
Description
Strapi before 3.0.2 could allow a remote authenticated attacker to bypass security restrictions because templates are stored in a global variable without any sanitation. By sending a specially crafted request, an attacker could exploit this vulnerability to update the email template for both password reset and account confirmation emails.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| strapi (npm) | before 3.0.2 | GitHub Advisory Database |
| strapi strapi | before 3.0.2 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
Strapi before 3.0.2 could allow a remote authenticated attacker to bypass security restrictions because templates are stored in a global variable without any sanitation. By sending a specially crafted request, an attacker could exploit this vulnerability to update the email template for both password reset and account confirmation emails.
NVD (es)
Strapi versiones anteriores a 3.0.2, podría permitir a un atacante autenticado remoto omitir restricciones de seguridad porque las plantillas son almacenadas en una variable global sin ningún tipo de saneamiento. Mediante el envío de una petición especialmente diseñada, un atacante podría explotar esta vulnerabilidad para actualizar la plantilla de correo electrónico tanto para el restablecimiento de contraseña como para los correos electrónicos de confirmación de cuenta
References
| https://exchange.xforce.ibmcloud.com/vulnerabilities/183045 | third-party-advisory, vdb-entry, web | |
| https://github.com/strapi/strapi/releases/tag/v3.0.2 | release-notes, third-party-advisory, web | |
| https://github.com/strapi/strapi/pull/6599 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-13961 | advisory | |
| https://github.com/strapi/strapi | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-13961 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-65wv-528r-m892 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2020-13961 changed 2026-06-17 | Public domain |