cdata

This tag performs a crazy obfuscation using CDATA tags.

Created by: hackvertor
Installed 1 times

Viewed: 60

Category: XSS

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

Updated on: Sunday, May 25, 2025 at 5:29:42 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>"
    );
  }
}