# MAL-2024-2936 - Malicious code in react-router-dom (npm)

Source: https://junglewise.ai/threats/malicious-code-in-react-router-dom-npm-3ea5df9f  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-25  
License: CC BY 4.0 with a link back

Severity: critical · Published 2024-06-25

Malicious code in react-router-dom (npm)

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Critical severity, published 25 June 2024.

**Which products and versions are affected?** React-Router-Dom. The advisory does not name versions.

**Is there a fix for This vulnerability?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected?** Check whether you run React-Router-Dom. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- React-Router-Dom

## Related threats

- [React Router XSS via open redirect in useNavigate](https://junglewise.ai/threats/cve-2026-53668-react-router-xss-via-open-redirect-in-usenavigate)
