Highlights
Cross-Site Scripting (XSS): 1 prior fix. Scrutinize any change in this area.
src/Helper/AbstractHtmlElement.php: most-fixed (1 issue). Treat as high-risk during review.
2 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.
Cross-Site Scripting (XSS): HTML element and navigation menu helpers utilized generic HTML escaping instead of context-aware HTML attribute escaping, which allowed malicious inputs to break out of attribute boundaries and execute arbitrary scripts. Developers should consistently use explicit attribute-context escaping helpers for all dynamic attributes.
Information Disclosure: Automatic JSON/JSONP content negotiation based directly on the client HTTP Accept header could trigger unintended serialization and disclosure of internal view-model variables. Removing or strictly gating automatic content-type negotiation protects sensitive view data from arbitrary extraction.