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: Thursday, December 19, 2024 at 9:22:04 PM
Tag arguments
[]
Code
class svgScriptComment {
encode(input) {
return (
"<svg><script>" + input.split("").join("<!---->") + "</script></svg>"
);
}
}