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.
Published: 2026-10-29
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Thu, 29 Oct 2026 09:45:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-29T10:35:36.566Z

Reserved: 2026-10-08T18:24:36.206Z

Link: CVE-2026-107743

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-29T10:17:02.580

Modified: 2026-10-29T10:17:02.580

Link: CVE-2026-107743

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T10:30:11Z

Weaknesses
  • CWE-79

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