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.
Published: 2026-08-07
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Code Embed plugin for WordPress contains a stored XSS flaw that allows a user with Contributor permissions to embed a malicious URL token in a pending post. The plugin retrieves the content of the specified external URL and inserts it into the final page without sanitising the response or checking the authorisation token for unfiltered HTML. When an Administrator or Editor previews or reviews the post, the malicious JavaScript is executed in the context of the CMS account, giving the attacker the ability to compromise user sessions, deface content, or perform other malicious actions. The weakness is a classic input‑validation error and is catalogued as CWE‑79.

Affected Systems

WordPress sites that have installed the dartiss:code‑embed plugin and are running any version prior to 2.6.1, including the major 2.5.x and 2.6.0 releases. The vulnerability specifically targets the remote URL embed feature used in post content. The fix is available in version 2.6.1 and later.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector requires that the adversary be able to submit a pending post and that an administrator or editor subsequently review it – meaning the threat comes from trusted contributors rather than external actors. Once the malicious content is rendered, the impact is local to the victim’s browser but can lead to credential theft or lateral movement. Because the flaw is stored, repeated exploitation is possible, making patching an urgent priority.

Generated by OpenCVE AI on August 7, 2026 at 17:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Code Embed plugin to version 2.6.1 or later.
  • Restrict Contributor role privileges or disable the external URL embed feature if it is not needed for your workflow.
  • Review pending posts for suspicious embed tokens and consider applying custom sanitisation filters as a temporary countermeasure.

Generated by OpenCVE AI on August 7, 2026 at 17:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title Code Embed - Contributor Stored Cross-Site Scripting via Remote URL Embed
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-07T15:46:31.547Z

Reserved: 2026-05-20T18:40:45.834Z

Link: CVE-2026-48093

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T17:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')