CVE-2026-48093 Code Embed - Contributor Stored Cross-Site Scripting via Remote URL Embed
Contributors can inject JavaScript via remote URL embeds, executing code when administrators preview posts, potentially leading to account takeover.
- 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-48093?
CVE-2026-48093 is a medium-severity cross-site scripting vulnerability in dartiss code-embed, published on 7 Aug 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
The Code Embed WordPress plugin prior to version 2.6.1 is vulnerable to stored Cross-Site Scripting (XSS) through the external URL embed feature in post content. The vulnerable code scans rendered content for URL embed tokens, fetches the remote URL, and inserts the remote response body into the page without output sanitization or an `unfiltered_html` capability check. This allows a Contributor attacker to submit a pending post containing an inert-looking URL token that executes attacker-controlled JavaScript when an Administrator or Editor previews or reviews the post. This is distinct from CVE-2026-2512, which affected custom field meta values up to version 2.5.1. This vector affects version 2.6 and uses the documented external URL embed feature in post content. This particular issue is patched in version 2.6.1.
Weakness: CWE-79
Which versions are affected by CVE-2026-48093?
How do I fix CVE-2026-48093?
No fix has been published for CVE-2026-48093 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-48093 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48093 exists.
Sources
Also known as GHSA-7c9x-px5v-5hcp.