{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "10.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v10.0.0",
                "range": [
                  {
                    "fixed": "1156c67370f05b8cb7e09ceb528270283b329fa4"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1156c67370f05b8cb7e09ceb528270283b329fa4"
            },
            {
              "fixed": "6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4"
            }
          ],
          "repo": "https://github.com/bgub/squirrelly",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wx7c-246h-xv63"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-915"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142701.json"
  },
  "details": "Squirrelly before 10.0.0 contains a cross-site scripting vulnerability that allows remote attackers to disable HTML escaping by supplying engine options in render data passed to renderFile. Attackers can submit keys like autoEscape: false in user-controlled data such as Express req.body to inject script, which persists for later renders when template caching is enabled.",
  "id": "CVE-2026-142701",
  "modified": "2026-12-03T01:45:56.409678091Z",
  "published": "2026-12-03T00:09:23.026Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142701.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bgub/squirrelly"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/config.ts#L101-L118"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/file-handlers.ts#L109-L117"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bgub/squirrelly/releases/tag/v10.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142701"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-override-in-renderfile"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile"
}