Looking for the vulnerability index of Invicti's legacy products?
Node.js Web Application does not handle unhandledRejection - Vulnerability Database

Node.js Web Application does not handle unhandledRejection

Description

The unhandledRejection event is emitted whenever a Promise is rejected and no error handler is attached to the promise within a turn of the event loop. By default, Node.js handles such exceptions by printing the stack trace to stderr and exiting with code 1. It's recommended to implement a handler function for this unhandled event.

Remediation

Your web application should implement a handler function for the <strong>unhandledRejection</strong> event.

Related Vulnerabilities