@novu/framework is vulnerable to Cross-Site Scripting (XSS)
43
Medium Risk
Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) via Unsanitized Img Tag Event Handlers, where the HTML sanitizer's previous configuration (allowedAttributes: false) for img elements improperly allowed dangerous event handler attributes like onerror, onload, and onclick. This flaw enables attackers to inject malicious img tags with such event handlers, executing arbitrary JavaScript when triggered, for instance, using onerror to run code upon failed image loading, which can lead to session hijacking, data theft, or other malicious actions in the victim's browser.
You are affected if you are using a version that falls within the vulnerable range.
@novu/framework is vulnerable to Cross-Site Scripting (XSS) in versions 2.5.2 - 2.8.0.
Upgrade the @novu/framework library to the patch version.
Secure your code, cloud, and runtime environments in one central system. Find and fix vulnerabilities automatically.
No credit card required | Scan results in 32secs.
SOC 2Compliant
ISO 27001Compliant