Skip to content
vetkitChecksChangelogDocumentation

vetkit.aspnet.config.custom-errors-off

ASP.NET custom errors are switched off (<customErrors mode="Off">). Remote users see full exception details and stack traces.

Last updated:

Suite: Security

regex

ASP.NET custom errors are switched off (<customErrors mode="Off">). Remote users see full exception details and stack traces.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Use mode="RemoteOnly" (or On) with a generic error page.

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.