{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142701",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-12-02T23:40:44.419Z",
        "datePublished": "2026-12-03T00:09:23.026Z",
        "dateUpdated": "2026-12-03T15:12:44.872Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-12-03T00:09:23.026Z"
            },
            "datePublic": "2026-11-30T00:00:00.000Z",
            "title": "Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improperly Controlled Modification of Dynamically-Determined Object Attributes",
                            "cweId": "CWE-915",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "bgub",
                    "product": "squirrelly",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "10.0.0",
                            "versionType": "semver",
                            "status": "affected"
                        }
                    ],
                    "packageURL": "pkg:npm/squirrelly",
                    "repo": "https://github.com/bgub/squirrelly"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:squirrelly:squirrelly:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "10.0.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "LOW",
                        "subIntegrityImpact": "LOW",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "CHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseScore": 4.7,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/bgub/squirrelly/security/advisories/GHSA-wx7c-246h-xv63",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "name": "GitHub Security Advisory (GHSA-wx7c-246h-xv63)"
                },
                {
                    "url": "https://github.com/bgub/squirrelly/commit/6b9f1f5804a45e0d07e3b083fdb42d65f32ec1f4",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/bgub/squirrelly/releases/tag/v10.0.0",
                    "tags": [
                        "release-notes"
                    ],
                    "name": "squirrelly v10.0.0 Release Notes"
                },
                {
                    "url": "https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/file-handlers.ts#L109-L117",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/bgub/squirrelly/blob/e67c27ca3f4bc76421c63459ffed23c932103be4/src/config.ts#L101-L118",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/squirrelly-before-10.0.0-xss-via-autoescape-override-in-renderfile",
                    "name": "VulnCheck Advisory: Squirrelly before 10.0.0 XSS via autoEscape Override in renderFile",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Vishal Suwalka (vsuwalka01)",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Ben Gubler",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-03T15:12:28.430629Z",
                                "id": "CVE-2026-142701",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-03T15:12:44.872Z"
                }
            }
        ]
    }
}