Resiliency / Cordova Debug Mode Enabled

AndroidMobile App


Cordova debug mode enabled is an IT vulnerability that is categorized under Resiliency in the Common Weakness Enumeration (CWE) directory. It is a vulnerability that affects Android and Mobile App platforms. This vulnerability occurs when the debug mode for a Cordova application is enabled. This mode allows for the application to be accessed via a web browser and it bypasses the application’s security measures. It also allows for attackers to access the application’s data and files. As detailed in the OWASP Testing Guide, a tester should check whether the debug mode is enabled or disabled. If it is enabled then the tester should disable it.


The risk associated with this vulnerability is high. Attackers can easily access the application’s data and files and modify them, resulting in data breaches and other malicious activities. This vulnerability can also lead to other security issues such as data modification, data exposures, and unauthorized access.


The best solution to this vulnerability is to disable the debug mode in the application. This can be done by setting the debug mode to false in the application’s configuration. Additionally, the application should be tested regularly to ensure that the debug mode is not enabled.


<preference name="debug" value="false" />

The above code is an example of how to set the debug mode to false in a Cordova application. This will ensure that the debug mode is disabled and the application is secure.

Curious? Convinced? Interested?

Arrange a no-obligation consultation with one of our product experts today.