---
id: CVE-2026-48093
title: >-
  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
summary: >-
  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 th…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'
cwe:
  - CWE-79
published: '2026-08-07'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:02:22.660'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48093'
references:
  - url: >-
      https://github.com/dartiss/code-embed/commit/399752029c62fea82a9bc13fd156713fb4d50ea8
    label: security-advisories@github.com
  - url: 'https://github.com/dartiss/code-embed/releases/tag/2.6.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/dartiss/code-embed/security/advisories/GHSA-7c9x-px5v-5hcp
    label: security-advisories@github.com
  - url: >-
      https://github.com/dartiss/code-embed/security/advisories/GHSA-7c9x-px5v-5hcp
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00287
epssPercentile: 0.18835
ingestedAt: '2026-09-09T21:22:45.523Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
