Highlights
Cross-Site Scripting (XSS): 1 prior fix. Scrutinize any change in this area.
lib/api/manipulation.js: 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): Inadequate encoding of special HTML entities when manipulating element attributes or text values through standard APIs like .attr() and .text() can allow malicious scripts to be injected and executed in the context of the parsed document.
Prototype Pollution: Reliance on vulnerable utility dependencies (such as lodash) can expose the library to prototype pollution vectors, potentially leading to denial of service or remote code execution if internal object Merging or cloning is manipulated.