I've implemented a Content Security Policy on my application and it is live on report only mode for now to test. After tweaking the policy appropriately, I've been left with quite a few reports that look like this:
{
"csp-report": {
"blocked-uri": "self",
"document-uri": "https://example.com/path/to/app/page.php",
"original-policy": "script-src 'nonce-DrZQpFyD2k9sGWT5' https://example.com https://ajax.googleapis.com https://maps.googleapis.com; default-src https://example.com; style-src https://example.com 'unsafe-inline' https://maxcdn.bootstrapcdn.com; img-src * data:; font-src https://example.com https://maxcdn.bootstrapcdn.com; frame-src https://example.com; frame-ancestors https://example.com; form-action *; report-uri https://<>.report-uri.io/r/default/csp/reportOnly",
"script-sample": "onmouseout attribute on DIV element",
"source-file": "https://example.com/path/to/app/page.php?id=143",
"violated-directive": "script-src 'nonce-DrZQpFyD/k9sGWT5' https://example.com https://ajax.googleapis.com https://maps.googleapis.com https://code.jquery.com/ "
}
}
Most of the users of the application use Chrome but these reports exclusively come from Firefox. Sometimes the script sample says onmouseover
or some other mouse event. I've looked through all of the code in the application and there isn't anywhere that uses attribute mouse events.
Any ideas as to what is causing this?