New Jan 5, 2025

react:18.3.1 getting security vulnerability issue [closed]

Libraries, Frameworks, etc. All from Newest questions tagged reactjs - Stack Overflow View react:18.3.1 getting security vulnerability issue [closed] on stackoverflow.com

With react:18.3.1 getting security vulnerability issue while scanning my project.

Reason Could be: The react package is vulnerable to Cross-Site Scripting (XSS). User data that is spread in the rendering code of a React component is not properly validated. An attacker can exploit this behavior to execute arbitrary JavaScript in a victim's browser instance.

Note: Following the DOMPurify pattern while using the dangerouslySetInnerHTML

Expectation: Want my project to run with out the vulnerabilities on scan

Scroll to top