CVE-2024-14020 carboneio carbone Formatter input.js prototype pollution

Low 2.3 Published Updated

Prototype pollution in Carbone Formatter allows remote code execution if the parent Node.js application is also vulnerable.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-14020?

CVE-2024-14020 is a low-severity code injection vulnerability in carboneio carbone, published on 7 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in carboneio carbone up to fbcd349077ad0e8748be73eab2a82ea92b6f8a7e. This impacts an unknown function of the file lib/input.js of the component Formatter Handler. Executing a manipulation can lead to improperly controlled modification of object prototype attributes. The attack can be launched remotely. This attack is characterized by high complexity. The exploitability is said to be difficult. Upgrading to version 3.5.6 will fix this issue. This patch is called 04f9feb24bfca23567706392f9ad2c53bbe4134e. You should upgrade the affected component. A successful exploitation can "only occur if the parent NodeJS application has the same security issue".

Weakness: CWE-94, CWE-1321

Which versions are affected by CVE-2024-14020?

2 open source packages ship an affected version, including carbone.

PackageAffectedFixed in
carbone npmAll versions3.5.6
carbone npmAll versions3.5.6

How do I fix CVE-2024-14020?

Upgrade carbone to 3.5.6 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-14020 being exploited?

There is no known exploitation of CVE-2024-14020 in the wild and no public exploit code.

Sources

Also known as GHSA-6rcw-ww3x-xqwm.

Is CVE-2024-14020 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free