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

Published Oct 29, 2026
·
Updated

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 permissioncallback that unconditionally returns true (no capability check, no nonce), together with the mapsterwriteconfigtoacf() helper only sanitizing string config values with sanitizetextfield() — which strips HTML tags but leaves quote characters intact — and the mapsterwpmap shortcode renderer in mapsterwordpressmapsshortcodedisplay() concatenating the stored loadingbackgroundcolor value into a single-quoted inline style attribute without escattr(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affected Software

1 affected component
Mapster Mapster WP Maps<=2.0.5

Event History

Oct 29, 2026
CVE Published
via MITRE·09:25 AM
Data Sourced
via MITRE·09:25 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

No authentication, WordPress capability, or nonce is required. An unauthenticated remote attacker can submit a malicious value through the save-mapmaker REST route.

2

What must be present for the injected script to run?

The attacker must inject a map configuration affecting config.loading.background, and a user must access a page that renders the injected map through the mapster_wp_map shortcode. The payload executes in the visiting user's browser when that page is viewed.

3

Are standard access controls sufficient to prevent exploitation?

No. The affected REST route's permission callback unconditionally allows requests, so normal WordPress capability checks and nonce validation are not enforced for this operation.

4

How can administrators check for potential compromise?

Review stored map configuration data for unexpected or suspicious values in the loading background color setting, particularly values containing quote characters or script-like attribute content. Also identify pages using the mapster_wp_map shortcode, as those are the pages where a stored payload would execute.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203