{"stack":{"key":"rest-graphql-api","name":"REST / GraphQL API","scope":"HTTP APIs, REST or GraphQL, consumed by browsers, mobile apps or other services."},"stacks":[{"key":"rest-graphql-api","name":"REST / GraphQL API","scope":"HTTP APIs, REST or GraphQL, consumed by browsers, mobile apps or other services."}],"level":1,"item_count":19,"chapters":[{"id":"V1","name":"Encoding and Sanitization","sections":[{"id":"V1.5","name":"Safe Deserialization","cheat_sheets":[{"name":"Deserialization Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Deserialization_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"},{"name":"XML Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/XML_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-1.5.1","level":1,"requirement":"Verify that the application configures XML parsers to use a restrictive configuration and that unsafe features such as resolving external entities are disabled to prevent XML eXternal Entity (XXE) attacks.","category":"api","relevance":"situational","applies_when":"The API accepts XML or serialised objects, or more than one parser reads the same request data.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"situational","applies_when":"The API accepts XML or serialised objects, or more than one parser reads the same request data.","note":null}],"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.1","name":"Validation and Business Logic Documentation","cheat_sheets":[{"name":"Abuse Case Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Abuse_Case_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-2.1.1","level":1,"requirement":"Verify that the application's documentation defines input validation rules for how to check the validity of data items against an expected structure. This could be common data formats such as credit card numbers, email addresses, telephone numbers, or it could be an internal data format.","category":"api","relevance":"core","applies_when":null,"note":"An OpenAPI document or GraphQL schema can serve as the documented validation rules if it is precise enough.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"An OpenAPI document or GraphQL schema can serve as the documented validation rules if it is precise enough."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x11-V2-Validation-and-Business-Logic.md"}]},{"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":"api","relevance":"core","applies_when":null,"note":"Reject requests that do not match the schema, including unknown fields, out-of-range values and oversized arrays.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Reject requests that do not match the schema, including unknown fields, out-of-range values and oversized arrays."}],"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":"api","relevance":"core","applies_when":null,"note":"Reject requests that do not match the schema, including unknown fields, out-of-range values and oversized arrays.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Reject requests that do not match the schema, including unknown fields, out-of-range values and oversized arrays."}],"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.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":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed."}],"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":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed."}],"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":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Keep CORS origins explicit; never reflect the Origin header with credentials allowed."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x12-V3-Web-Frontend-Security.md"}]}]},{"id":"V4","name":"API and Web Service","sections":[{"id":"V4.1","name":"Generic Web Service Security","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":"FastAPI Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/FastAPI_Security_Cheat_Sheet.html"},{"name":"REST Assessment Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/REST_Assessment_Cheat_Sheet.html"},{"name":"REST Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/REST_Security_Cheat_Sheet.html"},{"name":"Transport Layer Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Transport_Layer_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-4.1.1","level":1,"requirement":"Verify that every HTTP response with a message body contains a Content-Type header field that matches the actual content of the response, including the charset parameter to specify safe character encoding (e.g., UTF-8, ISO-8859-1) according to IANA Media Types, such as \"text/\", \"/+xml\" and \"/xml\".","category":"api","relevance":"core","applies_when":null,"note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x13-V4-API-and-Web-Service.md"}]},{"id":"V4.4","name":"WebSocket","cheat_sheets":[{"name":"Transport Layer Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Transport_Layer_Security_Cheat_Sheet.html"},{"name":"WebSocket Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/WebSocket_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-4.4.1","level":1,"requirement":"Verify that WebSocket over TLS (WSS) is used for all WebSocket connections.","category":"api","relevance":"situational","applies_when":"The API offers WebSocket connections, for example GraphQL subscriptions.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"situational","applies_when":"The API offers WebSocket connections, for example GraphQL subscriptions.","note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x13-V4-API-and-Web-Service.md"}]}]},{"id":"V8","name":"Authorization","sections":[{"id":"V8.1","name":"Authorization Documentation","cheat_sheets":[{"name":"Authorization Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html"},{"name":"Authorization Testing Automation","url":"https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Testing_Automation_Cheat_Sheet.html"},{"name":"Security Terminology Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Security_Terminology_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-8.1.1","level":1,"requirement":"Verify that authorization documentation defines rules for restricting function-level and data-specific access based on consumer permissions and resource attributes.","category":"auth","relevance":"core","applies_when":null,"note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"core","applies_when":null,"note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x17-V8-Authorization.md"}]},{"id":"V8.2","name":"General Authorization Design","cheat_sheets":[{"name":"Authorization Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html"},{"name":"Insecure Direct Object Reference Prevention Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Insecure_Direct_Object_Reference_Prevention_Cheat_Sheet.html"},{"name":"Session Management Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-8.2.1","level":1,"requirement":"Verify that the application ensures that function-level access is restricted to consumers with explicit permissions.","category":"auth","relevance":"core","applies_when":null,"note":"Object- and field-level checks belong in each resolver or handler; GraphQL resolvers reached through nested queries need them too.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"core","applies_when":null,"note":"Object- and field-level checks belong in each resolver or handler; GraphQL resolvers reached through nested queries need them too."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x17-V8-Authorization.md"},{"id":"v5.0.0-8.2.2","level":1,"requirement":"Verify that the application ensures that data-specific access is restricted to consumers with explicit permissions to specific data items to mitigate insecure direct object reference (IDOR) and broken object level authorization (BOLA).","category":"auth","relevance":"core","applies_when":null,"note":"Object- and field-level checks belong in each resolver or handler; GraphQL resolvers reached through nested queries need them too.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"core","applies_when":null,"note":"Object- and field-level checks belong in each resolver or handler; GraphQL resolvers reached through nested queries need them too."}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x17-V8-Authorization.md"}]},{"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":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"core","applies_when":null,"note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x17-V8-Authorization.md"}]}]},{"id":"V9","name":"Self-contained Tokens","sections":[{"id":"V9.1","name":"Token source and integrity","cheat_sheets":[{"name":"JSON Web Token Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_Cheat_Sheet.html"},{"name":"SAML Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/SAML_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-9.1.1","level":1,"requirement":"Verify that self-contained tokens are validated using their digital signature or MAC to protect against tampering before accepting the token's contents.","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x18-V9-Self-contained-Tokens.md"},{"id":"v5.0.0-9.1.2","level":1,"requirement":"Verify that only algorithms on an allowlist can be used to create and verify self-contained tokens, for a given context. The allowlist must include the permitted algorithms, ideally only either symmetric or asymmetric algorithms, and must not include the 'None' algorithm. If both symmetric and asymmetric must be supported, additional controls will be needed to prevent key confusion.","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x18-V9-Self-contained-Tokens.md"},{"id":"v5.0.0-9.1.3","level":1,"requirement":"Verify that key material that is used to validate self-contained tokens is from trusted pre-configured sources for the token issuer, preventing attackers from specifying untrusted sources and keys. For JWTs and other JWS structures, headers such as 'jku', 'x5u', and 'jwk' must be validated against an allowlist of trusted sources.","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x18-V9-Self-contained-Tokens.md"}]},{"id":"V9.2","name":"Token content","cheat_sheets":[{"name":"REST Security Cheat Sheet","url":"https://cheatsheetseries.owasp.org/cheatsheets/REST_Security_Cheat_Sheet.html"}],"items":[{"id":"v5.0.0-9.2.1","level":1,"requirement":"Verify that, if a validity time span is present in the token data, the token and its content are accepted only if the verification time is within this validity time span. For example, for JWTs, the claims 'nbf' and 'exp' must be verified.","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null,"stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"auth","relevance":"situational","applies_when":"The API accepts self-contained tokens such as JWTs.","note":null}],"source_url":"https://github.com/OWASP/ASVS/blob/v5.0.0_release/5.0/en/0x18-V9-Self-contained-Tokens.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":"api","relevance":"core","applies_when":null,"note":"Do not accept API keys or tokens in query strings, where proxies and logs record them.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Do not accept API keys or tokens in query strings, where proxies and logs record them."}],"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.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":"api","relevance":"core","applies_when":null,"note":"Return response models with chosen fields instead of whole database objects, and bind only allowed fields on writes.","stacks":["rest-graphql-api"],"by_stack":[{"stack":"rest-graphql-api","category":"api","relevance":"core","applies_when":null,"note":"Return response models with chosen fields instead of whole database objects, and bind only allowed fields on writes."}],"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 (REST / GraphQL API), 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"}]}