Code Injection Affecting squirrelly package, versions >=9.0.0 <9.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-SQUIRRELLY-7786371
  • published 22 Aug 2024
  • disclosed 21 Aug 2024
  • credit samuzora

How to fix?

Upgrade squirrelly to version 9.1.0 or higher.

Overview

squirrelly is a Lightweight, fast, and powerful JS template engine. Supports helpers, filters, template inheritance

Affected versions of this package are vulnerable to Code Injection through the options.varName component due to improper sanitization of the with argument. An attacker can execute arbitrary code by injecting malicious input into this component.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.3 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None