cdata

This tag performs a crazy obfuscation using CDATA tags.

Created by: hackvertor
Installed 1 times

Category: XSS

Created on: Monday, October 7, 2024 at 9:23:39 PM

Updated on: Friday, December 20, 2024 at 8:08:05 PM

This is a built in tag
Tag arguments
[]
Code
class cdata {
  encode(input, arg1) {
    return (
      "<svg><script>" +
      input
        .split("")
        .map((chr) => "<![CDATA[" + chr + "]]>")
        .join("") +
      "</script></svg>"
    );
  }
}