Security context

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

summernote/django-summernote
main @ f79c71b
2
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Stored XSS: 1 prior fix. Scrutinize any change in this area.
django_summernote/fields.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.

Stored XSS: Untrusted rich-text markup rendered to users can lead to session hijacking or defacement. Backend fields and forms must enforce robust HTML sanitization before saving or rendering content.
Unrestricted File Upload: Allowing arbitrary file uploads via attachment endpoints exposes the application to remote code execution or storage-exhaustion attacks. Upload endpoints must strictly validate file types on the server side and respect configuration flags.