SB2025020312 - Code Injection in pugjs Pug
Published: February 3, 2025 Updated: February 7, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Code Injection (CVE-ID: CVE-2024-36361)
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to Pug allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Remediation
Install update from vendor's website.