svgScriptComment
Splits every character and adds a XML comment around it with SVG script.
Created by: hackvertor
Installed 1 times
Category: XSS
Created on: Tuesday, October 29, 2024 at 9:54:04 PM
Updated on: Wednesday, November 6, 2024 at 2:17:28 PM
Tag arguments
[]
Code
class svgScriptComment {
encode(input) {
return (
"<svg><script>" + input.split("").join("<!---->") + "</script></svg>"
);
}
}