CWE-20911 advisories

Information Exposure Through an Error Message

What it is

Error messages reveal stack traces, queries or internals that help an attacker.

How to fix it

Upgrade and return generic errors to clients; log details server-side only.

How to avoid it

Never expose stack traces or internal detail to clients; log them internally instead.

Known Information Exposure Through an Error Message vulnerabilities

Stateward flags Information Exposure Through an Error Message in your own code and dependencies on every pull request.

Scan my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.