CVE-2026-107743

Mapster WP Maps <= 2.0.5 - Unauthenticated Stored Cross-Site Scripting via 'config.loading.background' Parameter

Published Oct 29, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The Mapster WP Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.0.5. This is due to the /wp-json/mapster-wp-maps/save-mapmaker REST route being registered with a permission_callback that unconditionally returns true (no capability check, no nonce), together with the mapster_write_config_to_acf() helper only sanitizing string config values with sanitize_text_field() — which strips HTML tags but leaves quote characters intact — and the mapster_wp_map shortcode renderer in mapster_wordpress_maps_shortcode_display() concatenating the stored loading_background_color value into a single-quoted inline style attribute without esc_attr(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The Mapster WP Maps plugin contains a stored cross‑site scripting flaw that can be exploited by an unauthenticated user. The vulnerability allows injection of arbitrary JavaScript into the loading_background_color configuration value because the REST save‑mapmaker endpoint lacks permission checks and the plugin fails to properly escape the value before rendering it in an inline style attribute. An attacker can exploit this to execute malicious code in the browsers of any visitor who loads the affected page, potentially compromising user accounts or defacing the site. This is an example of a classic XSS weakness (CWE‑79).

Affected Systems

The flaw is present in the Mapster WP Maps WordPress plugin version 2.0.5 and earlier. Only sites that have these versions installed and the plugin active are affected. Upgrading to any newer release fixes the issue.

Risk and Exploitability

The vulnerability is publicly accessible because the REST endpoint authenticates no user and therefore can be abused by anyone on the Internet. The CVSS score of 7.2 indicates a high severity, but the EPSS score is unavailable so the exact likelihood of exploitation is unknown. The vulnerability is currently not listed in the CISA KEV catalog. Attackers would send a crafted JSON payload to the save‑mapmaker route, store a malicious script in the configuration, and that script would execute whenever a normal visitor loads a page that renders the shortcode.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Mapster WP Maps plugin to version 2.0.6 or later
  • If an upgrade is not immediately possible, replace or remove the vulnerable REST endpoint and apply a custom permission check that requires a valid user capability before accepting data
  • Sanitize all user‑supplied configuration values and escape them properly when rendering them in HTML output, ensuring quote characters are not left unchecked

Generated by OpenCVE AI on October 29, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mapster
Mapster mapster Wp Maps
Wordpress-extensions
Wordpress-extensions mapster Wp Maps
Vendors & Products Mapster
Mapster mapster Wp Maps
Wordpress-extensions
Wordpress-extensions mapster Wp Maps
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Mapster WP Maps plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.0.5. This is due to the /wp-json/mapster-wp-maps/save-mapmaker REST route being registered with a permission_callback that unconditionally returns true (no capability check, no nonce), together with the mapster_write_config_to_acf() helper only sanitizing string config values with sanitize_text_field() — which strips HTML tags but leaves quote characters intact — and the mapster_wp_map shortcode renderer in mapster_wordpress_maps_shortcode_display() concatenating the stored loading_background_color value into a single-quoted inline style attribute without esc_attr(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Mapster WP Maps <= 2.0.5 - Unauthenticated Stored Cross-Site Scripting via 'config.loading.background' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 29, 2026, 10:35 AM
Reserved
Oct 8, 2026, 6:24 PM
Status
Deferred
Published
Oct 29, 2026, 10:17 AM
Modified
Oct 29, 2026, 2:56 PM