Vulnerability library
Security checkFebruary 19, 2026

devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Low severitynpmdevalue

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the devalue package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 5.6.2
  • Patched version(s): 5.6.3

References

Could your website be exposed too?

SmartScanner can check your website for devalue `uneval`ed code can create objects with polluted prototypes when `eval`ed and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 19, 2026