CVE-2026-48093

medium

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.

References

https://github.com/dartiss/code-embed/security/advisories/GHSA-7c9x-px5v-5hcp

https://github.com/dartiss/code-embed/releases/tag/2.6.1

https://github.com/dartiss/code-embed/commit/399752029c62fea82a9bc13fd156713fb4d50ea8

Details

Source: Mitre, NVD

Published: 2026-08-07

Updated: 2026-08-07

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Severity: Medium

EPSS

EPSS: 0.00162