CVE-2026-23499: Django Unsafe Static Media Serve
Serving uploaded media files using Django's `static()` without overriding the default view allows files to be served inline based on their inferred mimetype. This can lead to Stored XSS if users upload malicious HTML or SVG files. To mitigate this vector during local serving or debug testing, override the `view` parameter with a custom handler that enforces
greprules fetch cve-2026-23499-django-unsafe-static-media-serve --engine opengrepDescription
Serving uploaded media files using Django's `static()` without overriding the default view allows files to be served inline based on their inferred mimetype. This can lead to Stored XSS if users upload malicious HTML or SVG files. To mitigate this vector during local serving or debug testing, override the `view` parameter with a custom handler that enforces
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.