The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-39674

CVE-2026-39674: MK Google Directions XSS Vulnerability

CVE-2026-39674 is a DOM-based cross-site scripting flaw in MK Google Directions plugin (versions up to 3.1.1) that enables attackers to inject malicious scripts. This article covers technical details, impact, and mitigation.

Published: April 10, 2026

CVE-2026-39674 Overview

CVE-2026-39674 is a DOM-Based Cross-Site Scripting (XSS) vulnerability affecting the MK Google Directions WordPress plugin (also known as google-distance-calculator). The vulnerability stems from improper neutralization of user input during web page generation, allowing attackers to inject malicious scripts that execute in the context of the victim's browser session.

Critical Impact

Attackers with low-privileged access can exploit this DOM-Based XSS vulnerability to execute arbitrary JavaScript in victims' browsers, potentially leading to session hijacking, credential theft, or malicious redirects affecting WordPress site visitors.

Affected Products

  • MK Google Directions WordPress Plugin versions up to and including 3.1.1
  • WordPress installations using the google-distance-calculator plugin

Discovery Timeline

  • 2026-04-08 - CVE-2026-39674 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-39674

Vulnerability Analysis

This DOM-Based XSS vulnerability exists within the MK Google Directions plugin for WordPress, developed by Manoj Kumar. Unlike reflected or stored XSS, DOM-Based XSS occurs entirely within the client-side JavaScript, where malicious payload manipulation happens in the Document Object Model without server-side involvement.

The vulnerability allows authenticated attackers with minimal privileges to craft malicious input that gets processed by the plugin's client-side JavaScript. When a victim user interacts with the compromised page element, the injected script executes within their browser context, inheriting the victim's session and permissions.

The attack requires user interaction (UI:R) and can affect resources beyond the vulnerable component's security scope, making it particularly concerning for sites with authenticated administrators who might inadvertently trigger the payload.

Root Cause

The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The plugin fails to properly sanitize user-controlled input before incorporating it into DOM operations via JavaScript. This allows specially crafted input to break out of the expected data context and be interpreted as executable code by the browser.

Attack Vector

The attack leverages network-accessible entry points with low attack complexity. An attacker with low-level privileges on the WordPress site can submit malicious input through the plugin's interface. The DOM-Based nature means the payload is processed client-side when another user loads or interacts with the affected page elements.

The exploitation chain typically involves:

  1. Authenticated attacker injects crafted payload through plugin functionality
  2. Payload is stored or reflected through DOM manipulation
  3. Victim user visits the page or triggers the vulnerable component
  4. Malicious JavaScript executes in the victim's browser context
  5. Attacker can steal cookies, perform actions as the victim, or redirect to malicious sites

Detection Methods for CVE-2026-39674

Indicators of Compromise

  • Unusual JavaScript execution or unexpected network requests from WordPress pages using the MK Google Directions plugin
  • Suspicious user-agent strings or referrer headers indicating potential XSS exploitation attempts
  • Cookie or session token exfiltration attempts in web server logs
  • Unexpected DOM modifications on pages containing the google-distance-calculator shortcode or widget

Detection Strategies

  • Implement Content Security Policy (CSP) headers and monitor for CSP violation reports indicating inline script execution attempts
  • Review WordPress plugin audit logs for suspicious configuration changes to MK Google Directions settings
  • Deploy Web Application Firewall (WAF) rules to detect common XSS payload patterns in plugin-related requests
  • Monitor browser console errors on affected pages that may indicate failed injection attempts

Monitoring Recommendations

  • Enable detailed logging for all WordPress plugin activity, particularly for authenticated user actions
  • Configure real-time alerting for JavaScript errors or CSP violations on pages utilizing the affected plugin
  • Implement network-level monitoring for data exfiltration patterns originating from client browsers
  • Regularly audit plugin configurations and shortcode implementations for unexpected or malicious content

How to Mitigate CVE-2026-39674

Immediate Actions Required

  • Review the Patchstack WordPress Vulnerability Advisory for the latest patch information and remediation guidance
  • Consider temporarily disabling the MK Google Directions plugin until an official patch is released
  • Implement strict Content Security Policy headers to mitigate XSS impact
  • Audit user accounts with privileges that could exploit this vulnerability and review their recent activity

Patch Information

As of the publication date, the vulnerability affects MK Google Directions plugin versions through 3.1.1. Site administrators should monitor the WordPress plugin repository and the Patchstack advisory for updates addressing this vulnerability. When a patched version becomes available, update immediately through the WordPress admin dashboard or via WP-CLI.

Workarounds

  • Implement restrictive Content Security Policy headers with script-src 'self' to block inline script execution
  • Limit plugin access to trusted administrators only by reviewing and restricting WordPress user roles
  • Deploy a Web Application Firewall with XSS protection rules to filter malicious input at the network edge
  • If the plugin is not critical to site functionality, consider removing it entirely until a patch is available
bash
# Add CSP header via .htaccess (Apache)
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"

# Or via nginx configuration
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';";

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMk Google Directions

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack WordPress Vulnerability Advisory
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer 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