CVE-2026-45011 Apostrophe has stored XSS via javascript: URL in Image Widget Link
An editor can inject malicious JavaScript via image widget links, allowing arbitrary code execution in victims' browsers upon interaction.
- 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-2026-45011?
CVE-2026-45011 is a high-severity cross-site scripting vulnerability in apostrophecms apostrophe, published on 12 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a javascript: URL payload. Because editors have permission to publish pages, the malicious widget can be published to the live site. When another user, including an administrator or public visitor, clicks the affected image/link, arbitrary JavaScript executes in the victim’s browser. As of time of publication, no known patched versions are available.
Which versions are affected by CVE-2026-45011?
2 open source packages ship an affected version, including apostrophe.
| Package | Affected | Fixed in |
|---|---|---|
apostrophe npm | All versions | None |
apostrophe npm | All versions | None |
How do I fix CVE-2026-45011?
No fix has been published for CVE-2026-45011 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-2026-45011 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45011 exists.
Sources
Also known as GHSA-5f64-7vfc-rcx6.