The policy does not restrict the base element (base-uri).
CSP_NO_BASE_URI · Severity: Info
- Info
CSP_NO_BASE_URIThe policy does not restrict the base element (base-uri).
base-uri does not fall back to default-src. Without it, injected markup can set a base element and make relative script URLs load from another host.
Recommendation: Add base-uri 'self' or base-uri 'none'.
Reported by
Available through the API
Related findings
- Warning
CSP_NO_DEFAULT_SRCThe policy has no default-src directive. - Warning
CSP_NO_OBJECT_SRCPlugin content (object and embed elements) is not restricted. - Info
CSP_DEPRECATED_DIRECTIVEThe policy uses a directive that has been removed from CSP. - Warning
CSP_DUPLICATE_DIRECTIVEA directive appears twice in one policy, and browsers ignore the second one. - Error
CSP_EMPTY_POLICYThe pasted Content-Security-Policy has no directives. - Info
CSP_MISSINGThe HTTPS site sends no Content-Security-Policy header.