Title: JavaScript Memory Leaks &#8211; Forgotten timer or callback
Last modified: November 18, 2020

---

# JavaScript Memory Leaks – Forgotten timer or callback

 *  Resolved [PMWebDevelopment](https://wordpress.org/support/users/mulkins2013/)
 * (@mulkins2013)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/javascript-memory-leaks-forgotten-timer-or-callback/)
 * I ran a vulnerability test on Oct 15th, 2020, and it came back with a vulnerability
   called “Javascript Memory Leaks – Forgotten timer or callback” related to your
   plugin. The Url in the below information has been changed for security purposes.
   Will this be resolved or has it been resolved since Oct 15th? Any insight as 
   to how we can resolve this issue?
 * Vulnerable URL: [https://www.example.org/wpcontent/plugins/youtube-embed-plus/scripts/ytprefs.min.js](https://www.example.org/wpcontent/plugins/youtube-embed-plus/scripts/ytprefs.min.js)
   
   CRAWL TRAFFIC Vulnerable response matched: checkInterval=setInterval(function()
   ATTACK TRAFFIC Vulnerability proven via 1 attack (1) Attack proof: Attacked URL:
   [https://www.example.org/wpcontent/plugins/youtube-embed-plus/scripts/ytprefs.min.js?ver=13.4.1.1](https://www.example.org/wpcontent/plugins/youtube-embed-plus/scripts/ytprefs.min.js?ver=13.4.1.1)
   Vulnerable response matched: checkInterval=setInterval(function()

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/javascript-memory-leaks-forgotten-timer-or-callback/#post-13680727)
 * Hey, What vulnerability tool did you use to test?
    Do you know the name of the
   theme your using? In particular, does your theme use ajax? Also, some background:
   the setInterval is likely from your scanner overlooking that the interval indeed
   stops (in fact, it’s a max of 5 intervals). The typical recommended solution 
   to prevent setInterval memory leaks are to limit the number of intervals and 
   stop at a certain point, which we do. So the information you provide us will 
   help narrow down why the scanner doesn’t recognize the stoppage, as it’s likely
   a false positive. Feel free to email us at `ext at embedplus dot com`
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/javascript-memory-leaks-forgotten-timer-or-callback/#post-13695707)
 * Hi,
    Any updates about this? We haven’t received an email message yet either.
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/javascript-memory-leaks-forgotten-timer-or-callback/#post-13750207)
 * Ping again…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JavaScript Memory Leaks – Forgotten timer or callback’ is closed to new
replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/javascript-memory-leaks-forgotten-timer-or-callback/#post-13750207)
 * Status: resolved