OWASP ZAP (Medium / Verify) · ZAP-40040
OWASP ZAP-40040 (CORS Misconfiguration) for GraphQL API
Triage and verify ZAP rule 40040 (CORS Misconfiguration) inside GraphQL API pipelines without flooding SARIF 2.1.0 reports with header noise.
Coverage ledger tracking key
zap:40040::context:graphql
ZAP plugin 40040 (Medium / Verify)
Risk boundary
// Raw ZAP alert 40040 on GraphQL API
// Treat alert as needs_validation or Hardening Note until HTTP pair or handler code confirms risk.Hardened guard
// Clean triage policy (Medium / Verify)
// 1. Route header-only gaps to hardening-notes.md
// 2. Verify substantive exploit alerts via zap_to_findings + finding-verifier.Verification steps
- 01Check alert 40040 against rules.tsv and GraphQL API staging routes.
- 02Inspect the actual server handler or SPA router to rule out soft-404 phantoms.
- 03Export confirmed or valid leads cleanly into findings.json and SARIF 2.1.0.