Why it matters

Systems that fail open, leak details in errors or leave half-finished transactions behind can be pushed into unsafe states by attackers who trigger errors on purpose. The category is new in 2025.

How to prevent it

  • Catch errors where they occur and handle them deliberately, with a global exception handler as a backstop.
  • Fail closed: roll back partially completed transactions instead of continuing in an unknown state.
  • Return generic messages to users, and log and alert on unusual error patterns.
  • Limit resources with quotas, timeouts and rate limits so that unexpected input cannot exhaust the system.

Guides on this site

Practice

References

  1. A10:2025 Mishandling of Exceptional Conditions (OWASP)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.