Cross-site Scripting (XSS) - Generic in frappe/charts
Valid
Reported on
Nov 3rd 2020
Description
frappe-charts
is vulnerable to Cross-Site Scripting (XSS)
.
Steps To Reproduce
- Open NPM repo https://www.npmjs.com/package/frappe-charts
- Open the Explore demos https://frappe.io/charts
- At the bottom find the sandbox Ref: https://codesandbox.io/s/frappe-charts-demo-viqud?from-embed=&file=/src/index.js
- Use the payload
"><img/	  src=
~onerror=alert('XSS')>
and place it in name: "Some Data'><img/ � src=~
onerror=alert(document.domain)>", - XSS payload will get executed.
to join this conversation