Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
4797
Downloads
12.1M
Verified
4797
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
1 rules matched. Showing 1 loaded rules.
Publish rule
CVE-2026-42345: Broken Json String Escaping Lookbehind Replacecve-2026-42345-broken-json-string-escaping-lookbehind-replace

Insecure manual JSON string escaping: using .replace(/(?<!\\)"/g, '\\"') to sanitize user-controlled values for JSON string interpolation is bypassable. The negative lookbehind treats a user-supplied backslash before a double-quote as an escape prefix, so that quote is left unescaped in the output. Because the backslash itself is never encoded to '\\', the J

by Provallyupdated 2026-06-12Apache-2.0
3.5K0 direct3.5K via packs
downloads
77quality
All matching rules loaded.