{"stack":{"key":"nextjs-react","name":"Next.js / React","scope":"Web front ends built with React, including Next.js apps that render on the server and expose route handlers or server actions."},"stacks":[{"key":"nextjs-react","name":"Next.js / React","scope":"Web front ends built with React, including Next.js apps that render on the server and expose route handlers or server actions."}],"level":1,"item_count":24,"chapters":[{"id":"V1","name":"Encoding and Sanitization","sections":[{"id":"V1.2","name":"Injection Prevention","cheat_sheets":[{"name":"Bean Validation Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Bean_Validation_Cheat_Sheet.html"},{"name":"Cross Site Scripting Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html"},{"name":"DOM based XSS Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/DOM_based_XSS_Prevention_Cheat_Sheet.html"},{"name":"File Upload Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/File_Upload_Cheat_Sheet.html"},{"name":"Injection Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Injection_Prevention_Cheat_Sheet.html"},{"name":"Input Validation Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html"},{"name":"Java Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Java_Security_Cheat_Sheet.html"},{"name":"LDAP Injection Prevention","url":"https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html"},{"name":"OS Command Injection Defense","url":"https://cheatsheetseries.owasp.org/cheatsheets/OS_Command_Injection_Defense_Cheat_Sheet.html"},{"name":"Query Parameterization Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Query_Parameterization_Cheat_Sheet.html"},{"name":"SQL Injection Prevention","url":"https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html"},{"name":"XML External Entity Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html"},{"name":"XML Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_Security_Cheat_Sheet.html"},{"name":"XSS Filter Evasion Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/XSS_Filter_Evasion_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-1.2.1","level":1,"requirement":"Verify that output encoding for an HTTP response, HTML document, or XML document is relevant for the context required, such as encoding the relevant characters for HTML elements, HTML attributes, HTML comments, CSS, or HTTP header fields, to avoid changing the message or document structure.","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"},{"id":"v5.0.0-1.2.2","level":1,"requirement":"Verify that when dynamically building URLs, untrusted data is encoded according to its context (e.g., URL encoding or base64url encoding for query or path parameters). Ensure that only safe URL protocols are permitted (e.g., disallow javascript: or data:).","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"},{"id":"v5.0.0-1.2.3","level":1,"requirement":"Verify that output encoding or escaping is used when dynamically building JavaScript content (including JSON), to avoid changing the message or document structure (to avoid JavaScript and JSON injection).","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"},{"id":"v5.0.0-1.2.4","level":1,"requirement":"Verify that data selection or database queries (e.g., SQL, HQL, NoSQL, Cypher) use parameterized queries, ORMs, entity frameworks, or are otherwise protected from SQL Injection and other database injection attacks. This is also relevant when writing stored procedures.","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"},{"id":"v5.0.0-1.2.5","level":1,"requirement":"Verify that the application protects against OS command injection and that operating system calls use parameterized OS queries or use contextual command line output encoding.","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Watch URLs built from user data (links and redirects) and any database or shell calls made from server actions or route handlers."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"}]},{"id":"V1.3","name":"Sanitization","cheat_sheets":[{"name":"Cross Site Scripting Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html"},{"name":"Cross-Site Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"DOM based XSS Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/DOM_based_XSS_Prevention_Cheat_Sheet.html"},{"name":"Injection Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Injection_Prevention_Cheat_Sheet.html"},{"name":"Injection Prevention Cheat Sheet in Java","url":"https://cheatsheetseries.owasp.org/cheatsheets/Injection_Prevention_in_Java_Cheat_Sheet.html"},{"name":"Input Validation Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html"},{"name":"LDAP Injection Prevention","url":"https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html"},{"name":"Server Side Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"XML External Entity Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-1.3.1","level":1,"requirement":"Verify that all untrusted HTML input from WYSIWYG editors or similar is sanitized using a well-known and secure HTML sanitization library or framework feature.","category":"build-stack","relevance":"core","applies_when":null,"note":"Review every dangerouslySetInnerHTML use and any Markdown, SVG or rich-text rendering of user content.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Review every dangerouslySetInnerHTML use and any Markdown, SVG or rich-text rendering of user content."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"},{"id":"v5.0.0-1.3.2","level":1,"requirement":"Verify that the application avoids the use of eval() or other dynamic code execution features such as Spring Expression Language (SpEL). Where there is no alternative, any user input being included must be sanitized before being executed.","category":"build-stack","relevance":"core","applies_when":null,"note":"Review every dangerouslySetInnerHTML use and any Markdown, SVG or rich-text rendering of user content.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Review every dangerouslySetInnerHTML use and any Markdown, SVG or rich-text rendering of user content."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x10-V1-Encoding-and-Sanitization.md"}]}]},{"id":"V2","name":"Validation and Business Logic","sections":[{"id":"V2.2","name":"Input Validation","cheat_sheets":[{"name":"Input Validation Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html"},{"name":"Microservices Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Microservices_Security_Cheat_Sheet.html"},{"name":"Web Service Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Web_Service_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-2.2.1","level":1,"requirement":"Verify that input is validated to enforce business or functional expectations for that input. This should either use positive validation against an allow list of values, patterns, and ranges, or be based on comparing the input to an expected structure and logical limits according to predefined rules. For L1, this can focus on input which is used to make specific business or security decisions. For L2 and up, this should apply to all input.","category":"build-stack","relevance":"core","applies_when":null,"note":"Server actions and route handlers are public endpoints; validate their input on the server, not only in client-side forms.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Server actions and route handlers are public endpoints; validate their input on the server, not only in client-side forms."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x11-V2-Validation-and-Business-Logic.md"},{"id":"v5.0.0-2.2.2","level":1,"requirement":"Verify that the application is designed to enforce input validation at a trusted service layer. While client-side validation improves usability and should be encouraged, it must not be relied upon as a security control.","category":"build-stack","relevance":"core","applies_when":null,"note":"Server actions and route handlers are public endpoints; validate their input on the server, not only in client-side forms.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Server actions and route handlers are public endpoints; validate their input on the server, not only in client-side forms."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x11-V2-Validation-and-Business-Logic.md"}]}]},{"id":"V3","name":"Web Frontend Security","sections":[{"id":"V3.2","name":"Unintended Content Interpretation","cheat_sheets":[{"name":"Cross-Site Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"DOM Clobbering Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/DOM_Clobbering_Prevention_Cheat_Sheet.html"},{"name":"HTML5 Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html"},{"name":"Third Party Javascript Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-3.2.1","level":1,"requirement":"Verify that security controls are in place to prevent browsers from rendering content or functionality in HTTP responses in an incorrect context (e.g., when an API, a user-uploaded file or other resource is requested directly). Possible controls could include: not serving the content unless HTTP request header fields (such as Sec-Fetch-\\*) indicate it is the correct context, using the sandbox directive of the Content-Security-Policy header field or using the attachment disposition type in the Content-Disposition header field.","category":"build-stack","relevance":"core","applies_when":null,"note":"Render user data as JSX text; check refs and effects that write HTML into the DOM directly.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Render user data as JSX text; check refs and effects that write HTML into the DOM directly."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"},{"id":"v5.0.0-3.2.2","level":1,"requirement":"Verify that content intended to be displayed as text, rather than rendered as HTML, is handled using safe rendering functions (such as createTextNode or textContent) to prevent unintended execution of content such as HTML or JavaScript.","category":"build-stack","relevance":"core","applies_when":null,"note":"Render user data as JSX text; check refs and effects that write HTML into the DOM directly.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Render user data as JSX text; check refs and effects that write HTML into the DOM directly."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"}]},{"id":"V3.3","name":"Cookie Setup","cheat_sheets":[{"name":"Cross-Site Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"Session Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html"},{"name":"Transport Layer Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Transport_Layer_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-3.3.1","level":1,"requirement":"Verify that cookies have the 'Secure' attribute set, and if the '\\__Host-' prefix is not used for the cookie name, the '__Secure-' prefix must be used for the cookie name.","category":"build-stack","relevance":"core","applies_when":null,"note":"Cookies set in middleware, route handlers or server actions need their attributes set explicitly in code.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Cookies set in middleware, route handlers or server actions need their attributes set explicitly in code."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"}]},{"id":"V3.4","name":"Browser Security Mechanism Headers","cheat_sheets":[{"name":"Cross-Site Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"HTML5 Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html"},{"name":"HTTP Strict Transport Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Strict_Transport_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-3.4.1","level":1,"requirement":"Verify that a Strict-Transport-Security header field is included on all responses to enforce an HTTP Strict Transport Security (HSTS) policy. A maximum age of at least 1 year must be defined, and for L2 and up, the policy must apply to all subdomains as well.","category":"live-server","relevance":"core","applies_when":null,"note":"Next.js does not send a Content-Security-Policy by default; set headers in the Next.js config or in middleware.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"live-server","relevance":"core","applies_when":null,"note":"Next.js does not send a Content-Security-Policy by default; set headers in the Next.js config or in middleware."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"},{"id":"v5.0.0-3.4.2","level":1,"requirement":"Verify that the Cross-Origin Resource Sharing (CORS) Access-Control-Allow-Origin header field is a fixed value by the application, or if the Origin HTTP request header field value is used, it is validated against an allowlist of trusted origins. When 'Access-Control-Allow-Origin: *' needs to be used, verify that the response does not include any sensitive information.","category":"live-server","relevance":"core","applies_when":null,"note":"Next.js does not send a Content-Security-Policy by default; set headers in the Next.js config or in middleware.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"live-server","relevance":"core","applies_when":null,"note":"Next.js does not send a Content-Security-Policy by default; set headers in the Next.js config or in middleware."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"}]},{"id":"V3.5","name":"Browser Origin Separation","cheat_sheets":[{"name":"Cross-Site Request Forgery Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html"},{"name":"HTML5 Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html"},{"name":"Micro Frontend Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Micro_Frontend_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-3.5.1","level":1,"requirement":"Verify that, if the application does not rely on the CORS preflight mechanism to prevent disallowed cross-origin requests to use sensitive functionality, these requests are validated to ensure they originate from the application itself. This may be done by using and validating anti-forgery tokens or requiring extra HTTP header fields that are not CORS-safelisted request-header fields. This is to defend against browser-based request forgery attacks, commonly known as cross-site request forgery (CSRF).","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"},{"id":"v5.0.0-3.5.2","level":1,"requirement":"Verify that, if the application relies on the CORS preflight mechanism to prevent disallowed cross-origin use of sensitive functionality, it is not possible to call the functionality with a request which does not trigger a CORS-preflight request. This may require checking the values of the 'Origin' and 'Content-Type' request header fields or using an extra header field that is not a CORS-safelisted header-field.","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"},{"id":"v5.0.0-3.5.3","level":1,"requirement":"Verify that HTTP requests to sensitive functionality use appropriate HTTP methods such as POST, PUT, PATCH, or DELETE, and not methods defined by the HTTP specification as \"safe\" such as HEAD, OPTIONS, or GET. Alternatively, strict validation of the Sec-Fetch-* request header fields can be used to ensure that the request did not originate from an inappropriate cross-origin call, a navigation request, or a resource load (such as an image source) where this is not expected.","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Keep state-changing work in server actions or POST handlers, never in GET route handlers or page renders."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"}]}]},{"id":"V8","name":"Authorization","sections":[{"id":"V8.3","name":"Operation Level Authorization","cheat_sheets":[{"name":"Transaction Authorization Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Transaction_Authorization_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-8.3.1","level":1,"requirement":"Verify that the application enforces authorization rules at a trusted service layer and doesn't rely on controls that an untrusted consumer could manipulate, such as client-side JavaScript.","category":"auth","relevance":"core","applies_when":null,"note":"Hiding a button or route in the client is not access control; repeat the check inside each server action and route handler.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"auth","relevance":"core","applies_when":null,"note":"Hiding a button or route in the client is not access control; repeat the check inside each server action and route handler."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x17-V8-Authorization.md"}]}]},{"id":"V13","name":"Configuration","sections":[{"id":"V13.4","name":"Unintended Information Leakage","cheat_sheets":[{"name":"Django Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Django_Security_Cheat_Sheet.html"},{"name":"GraphQL Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/GraphQL_Cheat_Sheet.html"},{"name":"Laravel Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Laravel_Cheat_Sheet.html"},{"name":"NPM Security best practices","url":"https://cheatsheetseries.owasp.org/cheatsheets/NPM_Security_Cheat_Sheet.html"},{"name":"Symfony Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Symfony_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-13.4.1","level":1,"requirement":"Verify that the application is deployed either without any source control metadata, including the .git or .svn folders, or in a way that these folders are inaccessible both externally and to the application itself.","category":"live-server","relevance":"core","applies_when":null,"note":"Check that source maps, debug output and the .git folder are not served from the production deployment.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"live-server","relevance":"core","applies_when":null,"note":"Check that source maps, debug output and the .git folder are not served from the production deployment."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x22-V13-Configuration.md"}]}]},{"id":"V14","name":"Data Protection","sections":[{"id":"V14.2","name":"General Data Protection","cheat_sheets":[{"name":"HTML5 Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html"},{"name":"User Privacy Protection Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/User_Privacy_Protection_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-14.2.1","level":1,"requirement":"Verify that sensitive data is only sent to the server in the HTTP message body or header fields, and that the URL and query string do not contain sensitive information, such as an API key or session token.","category":"build-stack","relevance":"core","applies_when":null,"note":"Analytics, error tracking and other third-party scripts receive page URLs and data; keep sensitive values out of them.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Analytics, error tracking and other third-party scripts receive page URLs and data; keep sensitive values out of them."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x23-V14-Data-Protection.md"}]},{"id":"V14.3","name":"Client-side Data Protection","cheat_sheets":[{"name":"HTML5 Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/HTML5_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-14.3.1","level":1,"requirement":"Verify that authenticated data is cleared from client storage, such as the browser DOM, after the client or session is terminated. The 'Clear-Site-Data' HTTP response header field may be able to help with this but the client-side should also be able to clear up if the server connection is not available when the session is terminated.","category":"build-stack","relevance":"core","applies_when":null,"note":"Clear client state, caches and browser storage on logout; do not keep sensitive data in localStorage.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Clear client state, caches and browser storage on logout; do not keep sensitive data in localStorage."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x23-V14-Data-Protection.md"}]}]},{"id":"V15","name":"Secure Coding and Architecture","sections":[{"id":"V15.1","name":"Secure Coding and Architecture Documentation","cheat_sheets":[{"name":"Abuse Case Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Abuse_Case_Cheat_Sheet.html"},{"name":"Attack Surface Analysis Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Attack_Surface_Analysis_Cheat_Sheet.html"},{"name":"Dependency Graph & SBOM Best Practices Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Dependency_Graph_SBOM_Cheat_Sheet.html"},{"name":"Security Terminology Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Security_Terminology_Cheat_Sheet.html"},{"name":"Software Supply Chain Security","url":"https://cheatsheetseries.owasp.org/cheatsheets/Software_Supply_Chain_Security_Cheat_Sheet.html"},{"name":"Third Party Javascript Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html"},{"name":"Threat Modeling Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Threat_Modeling_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-15.1.1","level":1,"requirement":"Verify that application documentation defines risk based remediation time frames for 3rd party component versions with vulnerabilities and for updating libraries in general, to minimize the risk from these components.","category":"build-stack","relevance":"core","applies_when":null,"note":"The lockfile is the inventory of npm dependencies; agree how quickly vulnerable packages must be upgraded.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"The lockfile is the inventory of npm dependencies; agree how quickly vulnerable packages must be upgraded."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x24-V15-Secure-Coding-and-Architecture.md"}]},{"id":"V15.2","name":"Security Architecture and Dependencies","cheat_sheets":[{"name":"Software Supply Chain Security","url":"https://cheatsheetseries.owasp.org/cheatsheets/Software_Supply_Chain_Security_Cheat_Sheet.html"},{"name":"Third Party Javascript Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Third_Party_Javascript_Management_Cheat_Sheet.html"},{"name":"Virtual Patching Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Virtual_Patching_Cheat_Sheet.html"},{"name":"Vulnerable Dependency Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Vulnerable_Dependency_Management_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-15.2.1","level":1,"requirement":"Verify that the application only contains components which have not breached the documented update and remediation time frames.","category":"build-stack","relevance":"core","applies_when":null,"note":null,"stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x24-V15-Secure-Coding-and-Architecture.md"}]},{"id":"V15.3","name":"Defensive Coding","cheat_sheets":[{"name":"Mass Assignment Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Mass_Assignment_Cheat_Sheet.html"},{"name":"Prototype Pollution Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Prototype_Pollution_Prevention_Cheat_Sheet.html"},{"name":"Unvalidated Redirects and Forwards Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-15.3.1","level":1,"requirement":"Verify that the application only returns the required subset of fields from a data object. For example, it should not return an entire data object, as some individual fields should not be accessible to users.","category":"build-stack","relevance":"core","applies_when":null,"note":"Pass server actions only the fields they need and pick fields explicitly before writing them to a database.","stacks":["nextjs-react"],"by_stack":[{"stack":"nextjs-react","category":"build-stack","relevance":"core","applies_when":null,"note":"Pass server actions only the fields they need and pick fields explicitly before writing them to a database."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x24-V15-Secure-Coding-and-Architecture.md"}]}]}],"grouping_notice":"The grouping by stack is Helm's own curation and is not endorsed by OWASP. The requirements are OWASP's, from ASVS 5.0.0.","attribution":"Requirements: OWASP Application Security Verification Standard 5.0.0, (c) OWASP Foundation, licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0), https://creativecommons.org/licenses/by-sa/4.0/. Source: https://github.com/OWASP/ASVS/tree/v5.0.0_release. The grouping by stack (Next.js / React), the relevance labels and the notes are Helm's own editorial curation, not an OWASP product, and are not endorsed by OWASP. Cheat sheet links point to the OWASP Cheat Sheet Series (CC BY-SA 4.0). Completing a checklist means the listed controls were considered; it does not mean a system is secure.","mapping_date":"2026-11-24","sources":[{"source_name":"OWASP ASVS","source_record_id":"5.0.0","source_database":null,"source_url":"https://github.com/OWASP/ASVS/tree/v5.0.0_release","source_license":"CC-BY-SA-4.0","schema_version":"5.0.0","upstream_modified_at":"2025-05-30T09:34:29Z","fetched_at":"2026-11-24T22:53:07.225539Z"},{"source_name":"OWASP Cheat Sheet Series","source_record_id":"18e6c89f960e10a5b64f7c882c2b9dc17c423d10","source_database":null,"source_url":"https://cheatsheetseries.owasp.org/","source_license":"CC-BY-SA-4.0","schema_version":null,"upstream_modified_at":null,"fetched_at":"2026-11-24T22:53:07.225539Z"},{"source_name":"helm-curation","source_record_id":"2026-11-24","source_database":null,"source_url":null,"source_license":"CC-BY-SA-4.0","schema_version":null,"upstream_modified_at":null,"fetched_at":"2026-11-24T22:53:07.225539Z"}]}