JLSEC-2026-1919: Due to the formatting logic of the "console.table()" function it was not safe to allow user...
Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "proto". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.15.0+0 - Upgrade
Upgrade
julia/libnode_jllto a version that resolves this vulnerability.Fixed in 16.14.0+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required for exploitation?
An application must pass user-controlled input to the properties parameter of console.table() while passing a plain object with at least one property as the first parameter. The first object may include a __proto__ property.
What is the practical impact of the prototype pollution?
Control is very limited: an attacker can only assign an empty string to numerical keys on the object prototype. The issue can affect integrity and availability, but does not provide confidentiality impact according to the supplied severity vector.
Which Node.js releases contain the mitigation?
Node.js 12.22.9 and later in the 12.x line, 14.18.3 and later in the 14.x line, 16.13.2 and later in the 16.x line, and 17.3.1 and later use a null prototype for the object receiving these property assignments.
What can be done before updating?
Do not pass user-controlled values to console.table()'s properties parameter. In particular, avoid the vulnerable combination of untrusted properties input and a non-empty plain object as the first argument.