Rapid7

vulnerability

JavaScript Memory Leaks - Accidental global variable

Severity
4
CVSS
(AV:N/AC:L/Au:M/C:P/I:N/A:N)
Published
Jan 1, 2017
Added
Jun 27, 2018
Modified
Jun 27, 2018

Description

Global variables are easily leaked in Javascript. You may consider the following javascript code used in the default, non-strict mode:

Solution

javascriptcheck-javascriptleaks-r01

References

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.