svg
This tag returns a valid SVG document for use with image/svg+xml content type.
Created by: hackvertor
Installed 1 times
Viewed: 26
Category: XSS
Created on: Tuesday, June 3, 2025 at 11:15:15 AM
Updated on: Tuesday, June 3, 2025 at 11:15:15 AM
Tag arguments
[]
Code
class svg {
encode(input) {
return `<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg">${input}</svg>`;
}
}