Crashing Page¶
Description¶
A frontend page crashed due to an unhandled JavaScript error at runtime.
Remediation¶
Implement robust exception and error handling to prevent crashes. Validate inputs to exclude unexpected or malicious data. Optimize resource management to avoid memory leaks and excessive consumption. Regularly update and patch the application and its dependencies to address known vulnerabilities. Perform comprehensive testing, including stress tests, to identify and resolve potential crash scenarios.
Frontend Specific¶
React
Implement error boundaries to catch and handle JavaScript errors in React components.Angular
Implement error handling using Angular's ErrorHandler class to catch and manage unhandled JavaScript errors at runtime.Vue
Implement error boundaries using Vue's errorCaptured lifecycle hook to gracefully handle and log runtime errors.Svelte
Implement error boundaries using Svelte's `onError` lifecycle function to catch and handle runtime JavaScript errors gracefully.Ember
Implement error handling using Ember's `Ember.onerror` to catch and log unhandled JavaScript errors at runtime.Backbone
Implement error handling using Backbone's built-in error events and try-catch blocks to manage unhandled JavaScript errors at runtime.Preact
Implement error boundaries in Preact to catch and handle JavaScript errors gracefully at runtime.Gatsby
Implement error boundaries in your Gatsby application to catch and handle JavaScript errors gracefully at runtime.Blazor
Implement error boundaries to catch and handle exceptions in Blazor components.Marko
Implement error boundaries in the Marko framework to catch and handle JavaScript errors gracefully at runtime.Mithril
Implement error boundaries using Mithril's lifecycle methods to catch and handle runtime errors gracefully.Configuration¶
Identifier:
configuration/crashing_page
Examples¶
Ignore this check¶
Score¶
- Escape Severity:
Compliance¶
- OWASP: API8:2023
- OWASP LLM: LLM04:2023
- pci: 6.5.5
- gdpr: Article-32
- soc2: CC7
- psd2: Article-95
- iso27001: A.14.2
- nist: SP800-53
- fedramp: SI-11
Classification¶
- CWE: 116
Score¶
- CVSS_VECTOR: AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H