Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-1096

CVE-2026-1096: Best-wp-google-map WordPress XSS Flaw

CVE-2026-1096 is a stored cross-site scripting vulnerability in the Best-wp-google-map WordPress plugin affecting versions up to 2.1. Attackers with Contributor access can inject malicious scripts via shortcode parameters.

Published: February 20, 2026

CVE-2026-1096 Overview

The Best-wp-google-map plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 2.1. The vulnerability exists due to insufficient input sanitization and output escaping in the latitude and longitudinal parameters of the google_map_view shortcode. This security flaw allows authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts into pages, which execute whenever any user views the affected page.

Critical Impact

Authenticated attackers with minimal privileges (Contributor-level) can inject persistent malicious scripts that execute in the context of other users' browsers, potentially leading to session hijacking, credential theft, or further site compromise.

Affected Products

  • Best-wp-google-map WordPress Plugin versions up to and including 2.1
  • WordPress installations with the vulnerable plugin installed
  • Sites where Contributors or higher roles have publishing privileges

Discovery Timeline

  • 2026-02-14 - CVE CVE-2026-1096 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-1096

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability occurs in the shortcode processing logic of the Best-wp-google-map plugin. The plugin fails to properly sanitize user-supplied input and escape output when handling the latitude and longitudinal parameters within the google_map_view shortcode. When a user with Contributor-level access creates or edits content containing this shortcode, they can embed malicious JavaScript code within these coordinate parameters.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The attack requires network access and low-privilege authentication, but no user interaction is needed for the injected script to execute once the page is viewed. The scope is changed, meaning the vulnerable component impacts resources beyond its security scope, affecting user browsers that view the injected page.

Root Cause

The root cause of this vulnerability lies in improper input handling within the plug-hook.php file at line 27. The plugin accepts coordinate values from the shortcode attributes without applying proper sanitization functions such as sanitize_text_field() or esc_attr(). When these values are rendered in the page output, they are not properly escaped, allowing script tags or event handlers embedded in the parameters to be interpreted as executable code by the browser.

Attack Vector

The attack vector is network-based and requires authenticated access with at least Contributor-level privileges. An attacker would craft a WordPress post or page containing the google_map_view shortcode with malicious JavaScript embedded in the latitude or longitudinal parameters. Once the content is published or saved as a draft viewable by others, any user who accesses the page will execute the injected script in their browser context.

The malicious payload persists in the WordPress database, making this a stored XSS vulnerability that can affect multiple users over time. Attackers could leverage this to steal session cookies, redirect users to phishing sites, deface the website, or perform actions on behalf of authenticated administrators.

Detection Methods for CVE-2026-1096

Indicators of Compromise

  • Presence of unexpected JavaScript code or event handlers within google_map_view shortcode parameters in post content
  • Unusual values in latitude or longitudinal attributes containing HTML tags, script elements, or event handlers like onerror or onload
  • Database entries in wp_posts table containing suspicious shortcode content with encoded or obfuscated scripts

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in POST requests targeting WordPress content creation endpoints
  • Review WordPress audit logs for shortcode content containing script tags or JavaScript event handlers
  • Use WordPress security plugins to scan for stored XSS patterns in post content and shortcode attributes
  • Monitor for unexpected JavaScript execution or network requests originating from pages containing Google Map embeds

Monitoring Recommendations

  • Enable detailed logging for content creation and modification events in WordPress
  • Implement Content Security Policy (CSP) headers to detect and mitigate inline script execution
  • Deploy browser-based XSS detection tools that alert on unexpected script execution patterns
  • Regularly audit user roles and permissions, particularly for Contributor accounts

How to Mitigate CVE-2026-1096

Immediate Actions Required

  • Update the Best-wp-google-map plugin to a version newer than 2.1 that contains the security fix
  • Review existing posts and pages for potentially malicious content in google_map_view shortcodes
  • Temporarily disable the Best-wp-google-map plugin if an update is not yet available
  • Audit Contributor and Author accounts for suspicious activity or unauthorized content creation

Patch Information

The vulnerability affects Best-wp-google-map plugin versions up to and including 2.1. Site administrators should check the WordPress Plugin Overview for the latest patched version. Additional technical details about the vulnerability can be found in the Wordfence Vulnerability Analysis and the WordPress Plugin Source Code.

Workarounds

  • Restrict content publishing capabilities by limiting the Contributor role or removing it from untrusted users
  • Implement a content review workflow requiring Administrator approval before posts with shortcodes are published
  • Add custom input validation filters to sanitize shortcode attributes before processing
  • Use a Web Application Firewall with XSS detection rules to block malicious payloads
bash
# Configuration example
# Add to wp-config.php to restrict unfiltered HTML capability
define('DISALLOW_UNFILTERED_HTML', true);

# Or add custom sanitization filter in theme's functions.php
# add_filter('the_content', 'sanitize_shortcode_content', 1);

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Source Code

  • WordPress Plugin Development Code

  • WordPress Plugin Overview

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2026-4512: reCaptcha by WebDesignBy XSS Vulnerability

  • CVE-2025-32630: WP-BusinessDirectory XSS Vulnerability

  • CVE-2025-32581: WordPress Spam Blocker XSS Vulnerability

  • CVE-2025-28975: Alike WordPress Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English