@novu/js is vulnerable to Cross-Site Scripting (XSS)
37
Low Risk
The In-App Inbox renderer in @novu/js passes a notification redirect.url to window.open() without validating the URL scheme. A call-to-action stored through the v1 in-app workflow path can carry a javascript: URL together with a _self target, which the server maps into the notification redirect object and returns to recipients unchanged. When a recipient clicks the notification in a Chromium browser, the javascript: URL runs as stored cross-site scripting in the document origin hosting the inbox, allowing theft of session tokens and authenticated actions in that origin. The fix validates redirect URLs and targets in both the inbox API mapper and the client renderer so unsafe schemes and targets are rejected.
You are affected if you are using a version that falls within the vulnerable range and you render the In-App Inbox with notification redirect call-to-actions in a Chromium-based browser.
@novu/js is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 3.17.0.
Upgrade the @novu/js library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant