CVE-2021-23358
LOWunderscore 1.3.2-1.12.1 - Arbitrary Code Injection via Template Function
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2021-23358. PoCs published by EkamSinghWalia, MehdiBoukhobza.
AI-analyzed exploit summary This repository contains a detection script for CVE-2021-23358, which checks for vulnerable versions of the Underscore.js library in various paths and npm installations. It does not exploit the vulnerability but scans for its presence.
Description
The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.
Exploits (2)
This repository contains a detection script for CVE-2021-23358, which checks for vulnerable versions of the Underscore.js library in various paths and npm installations. It does not exploit the vulnerability but scans for its presence.
This repository contains a functional PoC for CVE-2021-23358, demonstrating a code injection vulnerability in the Underscore.js library. The exploit leverages the `_.templateSettings.variable` property to execute arbitrary code when processing templates.
References (18)
Scores
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N