CVE-2024-57556 Cross Site Scripting vulnerability in store2
A remote attacker can execute arbitrary code via Cross Site Scripting in the store.deep.js component of the nbubna store library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-57556?
CVE-2024-57556 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross Site Scripting vulnerability in nbubna store v.2.14.2 and before allows a remote attacker to execute arbitrary code via the store.deep.js component
Weakness: CWE-79
Which versions are affected by CVE-2024-57556?
2 open source packages ship an affected version, including store2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
store2 npm | All versions | 2.14.4 |
store2 npm | All versions | 2.14.4 |
Products include Nbubna Store.
How do I fix CVE-2024-57556?
Upgrade store2 to 2.14.4 or later.
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-57556 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57556 exists.
Sources
Also known as GHSA-w5hq-hm5m-4548.