CVE-2024-51091 seajs Cross-site Scripting vulnerability
A remote attacker can execute arbitrary code via Cross Site Scripting in the seajs JavaScript module loader library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-51091?
CVE-2024-51091 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Mar 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting vulnerability in seajs v.2.2.3 allows a remote attacker to execute arbitrary code via the seajs package
Weakness: CWE-79
Which versions are affected by CVE-2024-51091?
2 open source packages ship an affected version, including seajs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
seajs npm | All versions to 2.2.3 | None |
seajs npm | All versions to 2.2.3 | None |
Products include Seajs Seajs.
How do I fix CVE-2024-51091?
No fix has been published for CVE-2024-51091 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-51091 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-51091 exists.
Sources
Also known as GHSA-pfr4-4397-3hg8.