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
6.6M
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-2016-15039: Xhr Manual Content Lengthcve-2016-15039-xhr-manual-content-length

Manually setting the `Content-Length` header on an XMLHttpRequest is unsafe and forbidden by the W3C specification. Calculating the body length manually (e.g., using string `.length` which calculates character count, not byte count) results in an incorrect header value if the payload contains multi-byte characters. This manipulation enables HTTP Request Smug

by Provallyupdated 2026-06-12Apache-2.0
2.2K0 direct2.2K via packs
downloads
65quality
All matching rules loaded.