Jodit npm Package Under Investigation for Potential XSS Vulnerability
The Jodit npm package is under investigation for a potential cross-site scripting (XSS) vulnerability that allows attacker-supplied script execution in a victim's authenticated browser context.
What happened
An early warning has been issued regarding a potential cross-site scripting (XSS) vulnerability in the Jodit npm package. The vulnerability reportedly allows an attacker to inject a <script> element nested within an SVG, which bypasses the clean-html sanitization process. This could enable the execution of malicious scripts in a victim's authenticated browser context. The issue is being tracked under the ID GHSA-45QG-252V-3F7P. To mitigate potential exposure, it is recommended to upgrade Jodit to version 4.13.6 or later. For more detailed information, consult the primary sources linked in the summary.
How 0Day mitigates this
jodit is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.