Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Dontgitit

#51463of 61,299
5.9Total CVSS
Vulnerabilities · 1
PT-2022-20467
2022-06-02
5.9
CVE-2022-31023
Unknown
Play Framework
The issue concerns the generation of error messages containing sensitive information in Play Framework. When run in dev mode, Play Framework shows verbose errors for easy debugging, including an exception stack trace. This behavior is configured by the `DefaultHttpErrorHandler` based on the application mode. However, the static object `DefaultHttpErrorHandler` is configured to always show verbose errors, which can be inadvertently used in production or improperly configured as the injected error handler. This could result in verbose errors displaying to users in a production application, exposing sensitive information. Specifically, the constructor for `CORSFilter` and the `apply` method for `CORSActionBuilder` use the static object `DefaultHttpErrorHandler` as a default value.