Author Topic: Script with errors - is it suspicious?  (Read 734 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast √úberevangelist
  • Probably Bot
  • *****
  • Posts: 33927
  • malware fighter
Script with errors - is it suspicious?
« on: October 06, 2017, 12:11:57 AM »
Given as clean here:
     saved 51213 bytes 36b3047dbffab5da0863d81d30b4988f0cde0b03
     info: [decodingLevel=0] found JavaScript
     error: undefined variable jQuery
     error: undefined variable t.fn
     error: line:1: SyntaxError: missing ; before statement:
          error: line:1: var t.fn = 1;
          error: line:1: ....^
undefined variable t.fn - When one creates an anonymous function/closure that you later pass to Cache::remember() one needs to explicitely list all the variables from the parent scope that should be available in that function's scope.
Info credits go to StackOverflow's Jedrzej.kurylo

Open to XSS attack according to Netscape.

Consider also to read on events: - fixed bug with agenda event dropping in wrong column -

polonus (volunteer website security analyst and website error-hunter)
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!