OWASP ZAP (High / Verify PoC) · ZAP-40012

OWASP ZAP-40012 (Cross Site Scripting (Reflected)) for React SPA + CDN

Triage and verify ZAP rule 40012 (Cross Site Scripting (Reflected)) inside React SPA + CDN pipelines without flooding SARIF 2.1.0 reports with header noise.

Primary AegisSec skill
zap-active-daemon-triage ->
Companion: zap-baseline-passive
Coverage ledger tracking key
zap:40012::context:spa-react
ZAP plugin 40012 (High / Verify PoC)
Risk boundary
// Raw ZAP alert 40012 on React SPA + CDN
// Treat alert as needs_validation or Hardening Note until HTTP pair or handler code confirms risk.
Hardened guard
// Clean triage policy (High / Verify PoC)
// 1. Route header-only gaps to hardening-notes.md
// 2. Verify substantive exploit alerts via zap_to_findings + finding-verifier.

Verification steps

  1. 01Check alert 40012 against rules.tsv and React SPA + CDN staging routes.
  2. 02Inspect the actual server handler or SPA router to rule out soft-404 phantoms.
  3. 03Export confirmed or valid leads cleanly into findings.json and SARIF 2.1.0.