CWE-397: Declaration of Throws for Generic Exception
Filter
The product throws or raises an overly broad exception that can hide important details and produce inappropriate responses to certain conditions.
What the weakness is: CWE-397 at MITRE. OWASP Top 10: A10:2025 Mishandling of Exceptional Conditions
Ask an AI about CWE-397
Show the prompt
Explain CWE-397: Declaration of Throws for Generic Exception and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/397.html and https://cve.bz/cve/cwe/397?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
No records match.