A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-48304

CVE-2025-48304: Google XML News Sitemap CSRF Vulnerability

CVE-2025-48304 is a Cross-Site Request Forgery flaw in Google XML News Sitemap plugin that enables stored XSS attacks. This post covers the technical details, affected versions through 0.02, impact, and mitigation.

Updated: May 15, 2026

CVE-2025-48304 Overview

CVE-2025-48304 is a Cross-Site Request Forgery (CSRF) vulnerability [CWE-352] in the Gary Illyes Google XML News Sitemap plugin (gn-xml-sitemap) for WordPress. The flaw chains into a Stored Cross-Site Scripting (XSS) condition, allowing attackers to persist malicious script payloads through forged administrator requests. The vulnerability affects all versions of the plugin up to and including 0.02.

Critical Impact

Attackers can trick authenticated administrators into submitting forged requests that store malicious JavaScript in plugin settings, leading to session hijacking, privilege abuse, and persistent compromise of WordPress sites.

Affected Products

  • Gary Illyes Google XML News Sitemap plugin (gn-xml-sitemap)
  • All versions from n/a through 0.02
  • WordPress installations using this plugin

Discovery Timeline

  • 2025-08-28 - CVE-2025-48304 published to NVD
  • 2026-04-23 - Last updated in NVD database

Technical Details for CVE-2025-48304

Vulnerability Analysis

The vulnerability combines two distinct weaknesses into a single attack chain. The plugin processes state-changing requests without verifying anti-CSRF tokens, and it stores user-controllable input without proper sanitization or output encoding. An attacker who lures an authenticated WordPress administrator to a malicious page can issue background requests that modify plugin settings on behalf of the victim. The injected payload then executes whenever an administrator loads the affected plugin page in the WordPress dashboard.

Stored XSS in an administrative context is particularly impactful because it executes with the privileges of any administrator who views the affected page. This enables attackers to create new administrative users, exfiltrate session cookies, modify site content, or pivot to deeper compromise of the WordPress installation.

Root Cause

The root cause is the absence of CSRF protection mechanisms such as WordPress nonce verification using wp_verify_nonce() or check_admin_referer() on the plugin's settings handlers. Compounding this, the plugin fails to sanitize input through functions such as sanitize_text_field() and does not escape output using esc_html() or esc_attr() when rendering stored values back to the page.

Attack Vector

Exploitation requires user interaction. An attacker hosts a crafted page containing an auto-submitting form or fetch request targeting the vulnerable plugin endpoint. When a logged-in administrator visits the attacker-controlled page, the browser sends the forged request with the administrator's session cookies. The plugin accepts the request without validating its origin and stores the attacker-supplied JavaScript payload. The payload subsequently executes in any administrator's browser session that renders the affected settings page. See the Patchstack WordPress Vulnerability Report for technical details.

Detection Methods for CVE-2025-48304

Indicators of Compromise

  • Unexpected <script> tags or JavaScript event handlers stored in plugin configuration values within the wp_options table
  • Outbound HTTP requests from administrator browsers to unfamiliar third-party domains following access to the WordPress dashboard
  • Creation of new administrator-level WordPress accounts without corresponding audit log entries
  • Modifications to plugin settings without matching entries in administrator activity logs

Detection Strategies

  • Audit the wp_options table for plugin-related option rows containing HTML tags, javascript: URIs, or event handler attributes such as onerror= or onload=
  • Inspect web server access logs for POST requests to plugin admin endpoints lacking a same-origin Referer header
  • Monitor WordPress administrator sessions for anomalous client-side script execution and unexpected DOM modifications

Monitoring Recommendations

  • Enable WordPress security plugin logging to capture changes to plugin options and administrative actions
  • Implement Content Security Policy (CSP) headers to surface inline script execution attempts in browser violation reports
  • Track administrator account creation and role escalation events through centralized logging

How to Mitigate CVE-2025-48304

Immediate Actions Required

  • Deactivate and remove the Gary Illyes Google XML News Sitemap plugin (gn-xml-sitemap) until a patched version is available
  • Audit plugin configuration values in the database and remove any stored JavaScript payloads
  • Review WordPress user accounts and revoke any unauthorized administrator privileges created during the exposure window
  • Force password resets and session invalidation for all administrator accounts

Patch Information

No official patch is currently listed for this plugin. The vulnerability affects all versions through 0.02, and no fixed release has been identified at the time of NVD publication. Site operators should remove the plugin and consider alternative sitemap solutions that receive active security maintenance.

Workarounds

  • Restrict access to /wp-admin/ using IP allowlisting at the web server or WAF layer to limit CSRF exposure
  • Deploy a Web Application Firewall rule that blocks state-changing requests to the plugin's admin endpoints lacking valid WordPress nonces
  • Enforce a strict Content Security Policy that disallows inline scripts in the WordPress administration interface
  • Replace the plugin with an actively maintained sitemap solution
bash
# Configuration example: remove the vulnerable plugin via WP-CLI
wp plugin deactivate gn-xml-sitemap
wp plugin delete gn-xml-sitemap

# Audit wp_options for suspicious script content
wp db query "SELECT option_name, option_value FROM wp_options WHERE option_value LIKE '%<script%' OR option_value LIKE '%javascript:%';"

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechGoogle Xml News Sitemap

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-352
  • Technical References
  • Patchstack WordPress Vulnerability Report
  • Latest CVEs
  • CVE-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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