GHSA-8qm3-746x-r74r devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed

Not scored Published

Attackers can achieve code execution by exploiting prototype pollution in the devalue library when unevaluated data is later evaluated.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-8qm3-746x-r74r?

GHSA-8qm3-746x-r74r is a code injection vulnerability in devalue, published on 19 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Under certain circumstances, unevaling untrusted data can produce output code that will create objects with polluted prototypes when later evaled, meaning the output data can be a different shape from the input data.

Which versions are affected by GHSA-8qm3-746x-r74r?

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

PackageAffectedFixed in
devalue npmAll versions5.6.3
devalue npmAll versions5.6.3

How do I fix GHSA-8qm3-746x-r74r?

Upgrade devalue to 5.6.3 or later.

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

Is GHSA-8qm3-746x-r74r being exploited?

There is no known exploitation of GHSA-8qm3-746x-r74r in the wild and no public exploit code.

Sources

Is GHSA-8qm3-746x-r74r in your software?

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

Check your SBOMs for free