PT-2026-56812 · Npm · Enquirer

·

CVE-2026-15187

·

Published

2026-07-09

·

Updated

2026-09-03

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions enquirer versions prior to 2.4.2
Description A flaw in the Public Package API component allows remote attackers to perform prototype pollution. By manipulating the question.name argument within the Enquirer.set() function, an attacker can cause improperly controlled modification of object prototype attributes. Prototype pollution is a technique where an attacker modifies the base prototype of an object, potentially affecting all objects created from that prototype.
Recommendations Update to version 2.4.2 or later. As a temporary mitigation, restrict or validate the input passed to the question.name argument in the Enquirer.set() function.

Exploit

Fix

Prototype Pollution

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-15187
RHSA-2026:34975

Affected Products

Enquirer