Vulnerability library
Security checkOctober 05, 2026

stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk

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

Medium severitynpmstream-json

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The JSONC parser (stream-json/jsonc/parser.js) and verifier (stream-json/jsonc/verifier.js) scan a comment for its terminator starting from the comment’s opening / on every input chunk.

Recommendation

Update the stream-json package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 3.5.0
  • Patched version(s): 3.6.0

References

Could your website be exposed too?

SmartScanner can check your website for stream-json: JSONC parser and verifier re-scan the whole accumulated comment on every input chunk and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 05, 2026