Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

apollographql/apollo-client
main @ 691aa3b
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Data Integrity: 1 prior fix. Scrutinize any change in this area.
docs/source/basics/caching.md: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Data Integrity: GraphQL response fields aliased to standard metadata keys like __typename and id can cause cache key confusion and incorrect object merging, potentially corrupting application state.
Reflected XSS: Serialized JSON state embedded directly into HTML scripts on the server side without escaping HTML-sensitive characters allows attackers to execute arbitrary scripts in the context of the user's browser.