CVE-2026-134950 in Code Embed Plugininfo

Summary

by MITRE • 11/25/2026

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in David Artiss Code Embed simple-embed-code allows Stored XSS.This issue affects Code Embed: from n/a through 2.6.4.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The identified vulnerability represents a classic instance of Improper Neutralization of Input During Web Page Generation, commonly known as Cross-Site Scripting or XSS. Specifically, this flaw is classified under the CWE-79 standard and manifests within the David Artiss Code Embed plugin for WordPress in versions ranging from n/a through 2.6.4. The core technical deficiency lies in the application's failure to adequately sanitize user-supplied input before it is rendered back into the web page context. In a typical execution flow, an attacker can inject malicious script payloads into fields or inputs that are subsequently stored within the database without proper validation. When other users or administrators later view these pages, the browser executes the embedded scripts in the context of the vulnerable site, leading to a Stored XSS scenario rather than a reflected one.

This specific implementation flaw allows for persistent data manipulation because the malicious code is saved on the server side and served to multiple victims over time. Unlike reflected XSS attacks which require social engineering to trick users into clicking a crafted link, stored vulnerabilities like this one automatically target every user who accesses the compromised content. The operational impact of such an exploit is severe, as it grants attackers the ability to execute arbitrary JavaScript code within the victim's browser session. This capability can be leveraged to steal sensitive information such as administrative cookies or authentication tokens, hijack active sessions, deface web pages, redirect users to malicious sites, or perform actions on behalf of the user if they possess elevated privileges like administrator access.

From a threat intelligence perspective, this vulnerability aligns with several techniques in the MITRE ATT&CK framework for both Web Application and Mobile App attacks. It is directly associated with Client-Side Scripting Injection (T1059) which covers various scripting languages including JavaScript used to execute malicious code. Furthermore, if the attacker uses this access to steal credentials or session cookies, it falls under Credential Access techniques such as Browser Session Hijacking (T1539). The persistence of the payload means that even after the initial injection point is secured, previously stored malicious content may continue to affect users until a cleanup process removes the injected scripts from the database.

Mitigation strategies must address both immediate remediation and long-term security hygiene. The primary recommendation is to upgrade the Code Embed plugin to version 2.6.5 or later where this input validation issue has been resolved by implementing robust output encoding and strict input sanitization protocols. For organizations unable to immediately patch, temporary mitigations include restricting access to administrative functions through IP whitelisting if possible, enabling Content Security Policy headers that restrict script execution sources, and conducting a database audit to identify and remove any previously injected malicious scripts. Additionally, developers should adopt secure coding practices such as using context-aware encoding libraries when rendering user input in HTML attributes or body content to prevent similar vulnerabilities across the application stack.

Responsible

Patchstack

Reservation

11/23/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00283

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!