polizei.bayern.de
Grade C · 61/100 · 6/7 security headers present
Security Score
Security Headers
CSP Violations
Issues Found
Recommendations
Security
61 / 100Moderate security gaps found — unsafe directives or weak source restrictions.
Compliance
61 / 100Several compliance gaps found in CSP implementation.
Best Practices
10 / 100Best practices largely absent — review CSP configuration.
CSP Analysis
block-all-mixed-content
Directive Analysis
Missing Directives
Security Headers
Isolates the browsing context to prevent Spectre-type side-channel attacks and cross-origin window manipulation.
How to add it:
add_header Cross-Origin-Opener-Policy "same-origin" always;Header always set Cross-Origin-Opener-Policy "same-origin"Rules > Transform Rules > HTTP Response Header Modification > Set Cross-Origin-Opener-Policy to "same-origin"geolocation=(), midi=(), camera=(), usb=(), magnetometer=(), accelerometer=(), vr=(), speaker=(), ambient-light-sensor=(), microphone=()
Restricts which browser features (camera, microphone, geolocation) the page can use, limiting attack surface.
strict-origin
Controls how much referrer information is sent with requests, preventing data leaks to third parties.
max-age=63072000; includeSubDomains
Forces browsers to use HTTPS for all future requests, preventing man-in-the-middle attacks and SSL stripping.
nosniff
Prevents browsers from MIME-sniffing responses away from the declared Content-Type, blocking drive-by downloads.
SAMEORIGIN
Prevents the page from being embedded in iframes, protecting against clickjacking attacks.
0
Legacy XSS filter for older browsers. Modern browsers use CSP instead. Set to "0" to avoid false positives.
1 recommended security header is missing on polizei.bayern.de.
Issues Found
- •Deprecated: 'block-all-mixed-content' has been removed from the spec. Use 'upgrade-insecure-requests' instead.info
- •Missing CRITICAL directive default-src (Base fallback directive)critical
- •Missing CRITICAL directive script-src (JavaScript source control)critical
- •Missing HIGH directive base-uri (Base URI control - prevents base tag injection)high
- •Missing HIGH directive frame-ancestors (Framing control - prevents clickjacking)high
- •Missing HIGH directive object-src (Plugin control - should be 'none')high
- •Missing MEDIUM directive connect-src (API/XHR control - prevents data exfiltration)medium
- •Missing MEDIUM directive font-src (Font source control)medium
- •Missing MEDIUM directive form-action (Form submission control - prevents form hijacking)medium
- •Missing MEDIUM directive img-src (Image source control)medium
- •Missing MEDIUM directive style-src (Stylesheet source control)medium
- •Missing security header: Cross-Origin-Opener-Policymedium
Recommendations
- →Add base-uri directive with appropriate restrictions
- →Add connect-src directive with appropriate restrictions
- →Add default-src directive with appropriate restrictions
- →Add font-src directive with appropriate restrictions
- →Add form-action directive with appropriate restrictions
- →Add frame-ancestors directive with appropriate restrictions
- →Add img-src directive with appropriate restrictions
- →Add object-src directive with appropriate restrictions
- →Add script-src directive with appropriate restrictions
- →Add style-src directive with appropriate restrictions
Beyond headers: infrastructure exposure
via OSN, our sister projectSecurity headers protect the browser. OSN maps what's exposed underneath — servers, open ports, known CVEs, DNS and WHOIS.
polizei.bayern.de
3 scans since 5/13/2026
Latest: 61/100
Total Scans
3
Latest Score
61/100
First Scan
5/13/2026
Last Scan
11/4/2026
Security
61 / 100Moderate security gaps found — unsafe directives or weak source restrictions.
Compliance
61 / 100Several compliance gaps found in CSP implementation.
Best Practices
10 / 100Best practices largely absent — review CSP configuration.
Score Trend
Security score progression over 3 scans
Show off your security grade
Embed this badge on your site or README. It updates automatically after each scan and links back to this report.
<a href="https://headertest.com/results/polizei.bayern.de" title="Security headers grade for polizei.bayern.de — HeaderTest">
<img src="https://headertest.com/api/badge/polizei.bayern.de" alt="HeaderTest security grade: C (61/100) for polizei.bayern.de" />
</a>[](https://headertest.com/results/polizei.bayern.de)