UCF STIG Viewer Logo

JavaScript must be disabled by default


Overview

Finding ID Version Rule ID IA Controls Severity
V-0041 DTBC-0041 SV-0041r1_rule Medium
Description
Allows you to set a list of url patterns that specify sites which are not allowed to run JavaScript. If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.
STIG Date
Google Chrome STIG Draft 2012-09-25

Details

Check Text ( C-0041r1_chk )
Universal method(Requires Chrome Browser v15 or later):
1. In the omnibox(address bar) type chrome://policy
2. If the policy "JavaScriptBlockedForUrls" is shown and is set to "*", this is not a finding.

Windows:
Start regedit
Navigate to HKLM\Software\Policies\Google\Chrome\JavaScriptBlockedForUrls
If this key does not exist or is not set to "*" this is a finding.
Fix Text (F-0041r1_fix)

Valid for Chrome Browser version 11 or later.

Windows Registry:
Registry Path: HKLM\Software\Policies\Google\Chrome\
Registry Key: JavaScriptBlockedForUrls
Key Type: List of strings
Set the value of the registry key to "*"

Windows group policy:
Policy Path: Computer Configuration\Administrative Templates\Google\Google Chrome\Content Settings\
Policy Name: "Block JavaScript on these sites"
Policy State: Enabled
Policy Value: "*"

If this setting is not feasible, the usage of the ScriptNo extension is recommend. This will give the users control at blocking JavaScript by default, and granting privileges to websites they need JavaScript for.