Highlights
Cross-Site Request Forgery: 1 prior fix. Scrutinize any change in this area.
gson: 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.
Other: Internal type implementation classes implemented the Serializable interface, exposing writeReplace() methods that enabled the deserialization of untrusted data and potential gadget chain exploits.
Cross-Site Request Forgery: Standard JSON outputs can be vulnerable to JSON hijacking (a variation of CSRF) when parsed as scripts. A prefix mechanism is required to prevent the browser from executing the JSON payload directly.
Data Validation: Parsing numeric fields using standard Java parsers without strict ASCII digit validation can lead to unexpected handling of Unicode digits, potentially leading to validation bypasses in downstream application logic.