Skip to content
vetkitChecksChangelogDocumentation

vetkit.rust.cookie.httponly-disabled

A cookie is created with HttpOnly explicitly off, so page scripts (and any XSS payload) can read it.

Last updated:

Suite: Security

rust

A cookie is created with HttpOnly explicitly off, so page scripts (and any XSS payload) can read it.

Category: SECURITY · Engine rule severity: INFO

How to fix it

Set http_only(true) unless client-side script genuinely has to read the cookie.

References

Source: packages/engine/rules/sast/rust.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.