Security context

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

squidfunk/mkdocs-material
master @ 5b36f2a
3
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
material/plugins/privacy/plugin.py: 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.

Sandbox Escape: The use of standard Jinja2 environments for rendering templates in the social card generator allowed arbitrary template injection and potential remote code execution, requiring a migration to SandboxedEnvironment.
Reflected XSS: Search query results were written directly into the DOM using innerHTML without prior sanitization, enabling execution of malicious scripts via crafted search payloads.
Denial of Service: Asynchronous asset gathering and download tasks in the privacy plugin were executed concurrently without waiting for pool termination in the expected lifecycle hook, causing resource leakage and instability.