CVE-2024-40453

CRITICAL

squirrellyjs <9.0.0 - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2024-40453. PoCs published by surajpandeyp, BwithE.

AI-analyzed exploit summary This repository contains a functional proof-of-concept (PoC) exploit for CVE-2024-40453, a Server-Side Template Injection (SSTI) vulnerability in Squirrelly v9. The exploit demonstrates how unsanitized user input in query parameters (e.g., `useWith` and `varName`) can lead to arbitrary JavaScript execution in the template rendering context.

Description

squirrellyjs squirrelly v9.0.0 and fixed in v.9.0.1 was discovered to contain a code injection vulnerability via the component options.varName.

Exploits (2)

github WORKING POC
by surajpandeyp · javascriptpoc
https://github.com/surajpandeyp/CVE-2024-40453

This repository contains a functional proof-of-concept (PoC) exploit for CVE-2024-40453, a Server-Side Template Injection (SSTI) vulnerability in Squirrelly v9. The exploit demonstrates how unsanitized user input in query parameters (e.g., `useWith` and `varName`) can lead to arbitrary JavaScript execution in the template rendering context.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Squirrelly template engine v9 (used with Express.js)
No auth needed
Prerequisites: Target must be using Squirrelly v9 as the Express view engine · User-controlled input must be passed directly to template rendering options
mistral-large-3 · analyzed Jul 13, 2026 Full analysis →
nomisec WORKING POC
by BwithE · poc
https://github.com/BwithE/CVE-2024-40453

This repository contains a functional exploit for CVE-2024-40453, targeting Squirrelly v9.0.0. The exploit leverages a remote code execution vulnerability by crafting a malicious URL that triggers arbitrary command execution via a reverse shell payload.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Squirrelly v9.0.0
No auth needed
Prerequisites: Network access to the target · Python environment to run the PoC · Listener setup for reverse shell
mistral-large-3 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0113
EPSS Percentile 63.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
npm/squirrelly 9.0.0 - 9.1.0npm
squirrelly/squirrelly 9.0.0
Published Aug 21, 2024
Tracked Since Feb 18, 2026