Mapster WP Maps <= 2.0.5 - Unauthenticated Stored Cross-Site Scripting via 'config.loading.background' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Mapster WP Maps plugin for WordPress, up to and including version 2.0.5, is affected. An unauthenticated attacker could store malicious scripts through the plugin's map settings, and those scripts would run in the browsers of visitors who load the affected page, potentially allowing actions taken in the context of that user.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- mapster Mapster WP Maps
through 2.0.5
References 6
plugins.trac.wordpress.org
- browser/mapster-wp-maps/tags/2.0.5/public/class-mapster-wordpress-maps-public.php#L262
- browser/mapster-wp-maps/tags/2.0.5/admin/api/config-converter.php#L523
- browser/mapster-wp-maps/tags/2.0.5/admin/api/class-mapster-wordpress-maps-api.php#L487
- browser/mapster-wp-maps/tags/2.0.5/admin/api/field-map.php#L304
- browser/mapster-wp-maps/tags/2.0.6/public/class-mapster-wordpress-maps-public.php