Vulnerability identifier: #VU103495
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-94
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Pug
Web applications /
Modules and components for CMS
Vendor: Pugjs
Description
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.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Pug: 3.0.2
External links
https://github.com/pugjs/pug/pull/3428
https://pugjs.org/api/reference.html
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.