Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-13961

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-13961
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:50 UTC · Revision 1

Source evidence

CVE-2020-13961

core-osv · Original source

Published 19 Jun 2020, 17:15 UTC

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.

osv:CVE-2020-13961
Complete source record
{
  "id": "603f4009f6040bf5a05f3599321e4ef69ddc433dcab45e7898258950f9e75960",
  "url": "https://osv.dev/vulnerability/CVE-2020-13961",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-13961",
    "summary": "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.",
    "evidence": "osv:CVE-2020-13961",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-13961",
      "aliases": [
        "CVE-2020-13961",
        "GHSA-65wv-528r-m892"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/strapi/strapi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "497fb742eb795b1135e4e0c20ef638c4ab50dd72"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "497fb742eb795b1135e4e0c20ef638c4ab50dd72"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.0.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.0.1",
            "v3.0.0",
            "v3.0.0-rc.1",
            "v3.0.0-rc.0",
            "v3.0.0-beta.20.1",
            "v3.0.0-beta.20",
            "v3.0.0-beta.19.4",
            "v3.0.0-beta.19.3",
            "v3.0.0-beta.19.2",
            "v3.0.0-beta.19.1",
            "v3.0.0-beta.19",
            "v3.0.0-beta.18.8",
            "v3.0.0-beta.18.7",
            "v3.0.0-beta.18.6",
            "v3.0.0-beta.18.5",
            "v3.0.0-beta.18.4",
            "v3.0.0-beta.16.7",
            "v3.0.0-beta.18.3",
            "v3.0.0-beta.18.2",
            "v3.0.0-beta.18.1",
            "v3.0.0-beta.18",
            "v3.0.0-beta.17.8",
            "v3.0.0-beta.17.7",
            "v3.0.0-beta.17.6",
            "v3.0.0-beta.17.5",
            "v3.0.0-beta.17.4",
            "v3.0.0-beta.17.2",
            "v3.0.0-beta.17.1",
            "v3.0.0-beta.17",
            "v3.0.0-beta.16.8",
            "v3.0.0-beta.16.6",
            "v3.0.0-beta.16.5",
            "v3.0.0-beta.16.4",
            "v3.0.0-beta.16.3",
            "v3.0.0-beta.16.2",
            "v3.0.0-beta.16.1",
            "v3.0.0-beta.16",
            "v3.0.0-beta.15",
            "v3.0.0-beta.14",
            "v3.0.0-beta.13",
            "v3.0.0-beta.12",
            "v3.0.0-beta.11",
            "v3.0.0-beta.10",
            "v3.0.0-beta.9",
            "v3.0.0-beta.8",
            "v3.0.0-beta.7",
            "v3.0.0-beta.6",
            "v3.0.0-beta.5",
            "v3.0.0-beta.4",
            "v3.0.0-beta.3",
            "v3.0.0-beta.2",
            "v3.0.0-beta.1",
            "v3.0.0-beta.0",
            "v3.0.0-alpha.23.1",
            "v3.0.0-alpha.13",
            "v3.0.0-alpha.12.7.1",
            "v3.0.0-alpha.12.7",
            "v3.0.0-alpha.9",
            "v3.0.0-alpha.7.3",
            "v3.0.0-alpha.6.7",
            "v3.0.0-alpha.6.4",
            "v3.0.0-alpha.4",
            "v3.0.0-alpha.4.8",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.1",
            "v1.4.0",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.6",
            "v1.0.5",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-13961.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:48.815988563Z",
      "provider": "osv",
      "references": [
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/183045",
        "https://github.com/strapi/strapi/pull/6599",
        "https://github.com/strapi/strapi/releases/tag/v3.0.2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-13961",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382983,
  "published_at": "2020-06-19T17:15:14.147+00:00"
}