Java


JAVA.JS.FAFU : JavaScript File Access from File URLs (Java)

Summary

Access to a file scheme URL from other file scheme URLs is enabled by default.

Properties

Class Name JavaScript File Access from File URLs (Java)
Significance security
Mnemonic JAVA.JS.FAFU
Categories
CWE CWE:749 Exposed Dangerous Method or Function
Availability Available for Java only.

Android Only. Warnings of this class will only be reported in Android code: that is, code that uses the Android API.

Enabling Checks for this warning class are enabled by default. To disable them, add the following WARNING_FILTER rule to the project configuration file.
WARNING_FILTER += discard class="JavaScript File Access from File URLs (Java)"

Relevant Configuration File Parameters

The following configuration file parameters affect checks for this warning class.