You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggested Fix or Mitigation:
It is best practice to sanitize the text before passing it to innerHTML. Please consider sanitizing it using popular sanitization libraries, e.g., dompurify, to prevent any XSS. Thanks!
The text was updated successfully, but these errors were encountered:
I've found a Cross-Site Scripting (XSS) vulnerability in this package
Vulnerability Details:
Steps to Reproduce:
In a React.js project:
Suggested Fix or Mitigation:
It is best practice to sanitize the text before passing it to innerHTML. Please consider sanitizing it using popular sanitization libraries, e.g.,
dompurify
, to prevent any XSS. Thanks!The text was updated successfully, but these errors were encountered: