Security context

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

zostera/django-bootstrap4
main @ 09f5b35
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
CSRF: 1 prior fix. Scrutinize any change in this area.
bootstrap4/renderers.py: 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.

Reflected XSS: Bypassing Django's built-in escaping by wrapping dynamically generated widget placeholder values in 'mark_safe' can allow attackers to inject malicious HTML or scripts. Developers must avoid using 'mark_safe' on raw, unvalidated input.
CSRF: Defining POST forms without rendering the associated CSRF token leaves endpoints vulnerable to cross-site request forgery, potentially allowing unauthorized state-changing actions.