CVE-2026-48093: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dartiss code-embed
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.
AI Analysis
Technical Summary
CVE-2026-48093 is a stored XSS vulnerability in the Code Embed WordPress plugin by dartiss, affecting versions prior to 2.6.1. The vulnerability occurs in the external URL embed feature, where the plugin scans post content for URL embed tokens, fetches the remote URL content, and inserts it into the page without sanitization or verifying the user's 'unfiltered_html' capability. This allows a contributor-level attacker to submit a post containing a crafted URL token that executes attacker-controlled JavaScript when previewed by administrators or editors. This vulnerability is distinct from CVE-2026-2512 and is patched in version 2.6.1.
Potential Impact
An attacker with contributor privileges can inject malicious JavaScript that executes in the context of administrators or editors when they preview or review posts. This can lead to information disclosure, session hijacking, or other impacts typical of stored XSS vulnerabilities. The CVSS 3.1 base score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, required privileges, user interaction, and partial confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Upgrade the Code Embed plugin to version 2.6.1 or later, where this vulnerability is patched. Until then, restrict contributor privileges or disable the external URL embed feature to prevent exploitation. No official vendor advisory was provided, so patch status is based on the version information in the description.
CVE-2026-48093: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dartiss code-embed
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.
CVSS v3.1
Score 6.5medium
Affected software
dartiss
code-embed
pkg:github/dartiss/code-embedRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48093 is a stored XSS vulnerability in the Code Embed WordPress plugin by dartiss, affecting versions prior to 2.6.1. The vulnerability occurs in the external URL embed feature, where the plugin scans post content for URL embed tokens, fetches the remote URL content, and inserts it into the page without sanitization or verifying the user's 'unfiltered_html' capability. This allows a contributor-level attacker to submit a post containing a crafted URL token that executes attacker-controlled JavaScript when previewed by administrators or editors. This vulnerability is distinct from CVE-2026-2512 and is patched in version 2.6.1.
Potential Impact
An attacker with contributor privileges can inject malicious JavaScript that executes in the context of administrators or editors when they preview or review posts. This can lead to information disclosure, session hijacking, or other impacts typical of stored XSS vulnerabilities. The CVSS 3.1 base score is 6.5 (medium severity), reflecting network attack vector, low attack complexity, required privileges, user interaction, and partial confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Upgrade the Code Embed plugin to version 2.6.1 or later, where this vulnerability is patched. Until then, restrict contributor privileges or disable the external URL embed feature to prevent exploitation. No official vendor advisory was provided, so patch status is based on the version information in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-20T18:40:45.834Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7603c6bf8831d539984126
Added to database: 08/07/2026, 16:11:50 UTC
Last enriched: 08/15/2026, 15:35:35 UTC
Last updated: 09/21/2026, 22:01:35 UTC
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.