Skip to content
vetkitChecksChangelogDocumentation

vetkit.aspnet.config.request-validation-off

ASP.NET request validation is disabled for the whole application (validateRequest="false"). Script and markup in request input is no longer rejected before it reaches pages.

Last updated:

Suite: Security

regex

ASP.NET request validation is disabled for the whole application (validateRequest="false"). Script and markup in request input is no longer rejected before it reaches pages.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Keep request validation on and disable it only for the specific field that must accept markup ([AllowHtml] / ValidateInput(false)), encoding that value on output.

References

Source: packages/engine/rules/sast/config.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.