Rapid7 Vulnerability & Exploit Database

CSP Headers - Using 'unsafe-inline' or 'unsafe-eval' is not recommended.

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

CSP Headers - Using 'unsafe-inline' or 'unsafe-eval' is not recommended.

Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
01/01/2016
Created
07/25/2018
Added
06/27/2018
Modified
06/27/2018

Description

The Content Security Policy hasn’t been declared either through the meta-tag or the header, so the browser's trust of the content received from the server can be exploited. Malicious scripts are executed by the victim's browser because the browser trusts the source of the content, even when it's not coming from where it seems to be coming from.

Solution(s)

  • cspheaders-cspheaders-r01

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;