Vulnerability library
Security checkJanuary 23, 2026

Code Injection in node-rules

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

High severitynpmnode-rules

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

node-rules including 3.0.0 and prior to 5.0.0 allows injection of arbitrary commands. The argument rules of function “fromJSON()” can be controlled by users without any sanitization.

Recommendation

Update the node-rules package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 3.0.0, < 5.0.0
  • Patched version(s): 5.0.0

References

Could your website be exposed too?

SmartScanner can check your website for Code Injection in node-rules and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 23, 2026