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-2025-65482

CVE-2025-65482: XDocReport XXE Vulnerability

CVE-2025-65482 is an XML External Entity (XXE) flaw in opensagres XDocReport versions 0.9.2 to 2.0.3 that enables arbitrary code execution. This post covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2025-65482 Overview

An XML External Entity (XXE) vulnerability exists in opensagres XDocReport versions v0.9.2 through v2.0.3. This vulnerability allows attackers to execute arbitrary code by uploading a specially crafted .docx file. XDocReport is a Java library used for generating documents from templates, and this flaw stems from improper handling of XML content within document files.

Critical Impact

Attackers can achieve arbitrary code execution through malicious document uploads, potentially leading to complete system compromise, data exfiltration, and lateral movement within affected environments.

Affected Products

  • opensagres XDocReport v0.9.2
  • opensagres XDocReport v2.0.3
  • All intermediate versions between v0.9.2 and v2.0.3

Discovery Timeline

  • 2026-01-20 - CVE-2025-65482 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2025-65482

Vulnerability Analysis

This vulnerability falls under CWE-611 (Improper Restriction of XML External Entity Reference). XDocReport processes .docx files, which are essentially ZIP archives containing XML documents. When the library parses these embedded XML files, it fails to properly disable external entity processing in the XML parser configuration.

The attack is network-accessible and requires no authentication or user interaction, making it particularly dangerous in environments where document processing is exposed to untrusted input. An attacker can craft a malicious .docx file containing XXE payloads within the document's XML components (such as document.xml, styles.xml, or other content parts). When XDocReport processes this file, the XML parser resolves the external entities, leading to arbitrary code execution.

Root Cause

The root cause is the insecure default configuration of the XML parser used by XDocReport when processing .docx file contents. The library does not disable DTD (Document Type Definition) processing or external entity resolution before parsing XML content from uploaded documents. This allows malicious external entity declarations to be processed, enabling attackers to reference external resources or execute system commands.

Attack Vector

The attack is executed via a network-accessible endpoint that accepts .docx file uploads for processing by XDocReport. The attacker crafts a malicious .docx file by modifying the internal XML structure to include XXE payloads. Common exploitation techniques include:

  1. File Disclosure: Using external entities to read sensitive files from the server (e.g., /etc/passwd, configuration files)
  2. Server-Side Request Forgery (SSRF): Forcing the server to make requests to internal or external resources
  3. Remote Code Execution: In certain configurations, leveraging protocol handlers or chained vulnerabilities to achieve code execution

The vulnerability requires the attacker to upload or provide a crafted .docx file to an application using the vulnerable XDocReport library. Technical details and proof-of-concept materials are available through the GitHub PoC Repository and HackMD Security Documentation.

Detection Methods for CVE-2025-65482

Indicators of Compromise

  • Unusual outbound network connections from document processing servers to external hosts
  • Presence of .docx files with modified or suspicious XML content in upload directories
  • Server logs showing attempts to access sensitive system files (e.g., /etc/passwd, /etc/shadow)
  • XML parsing errors or exceptions related to DTD processing in application logs

Detection Strategies

  • Monitor file upload endpoints for .docx files with unusual XML structures or DTD declarations
  • Implement network egress monitoring to detect unexpected outbound connections during document processing
  • Deploy endpoint detection solutions capable of identifying XXE exploitation patterns
  • Review application logs for XML parser exceptions or warnings about external entity resolution

Monitoring Recommendations

  • Enable verbose logging for document processing components to capture XML parsing events
  • Configure intrusion detection systems (IDS) to alert on XXE-related network traffic patterns
  • Implement file integrity monitoring on document processing servers
  • Use SentinelOne's behavioral AI to detect anomalous process execution following document uploads

How to Mitigate CVE-2025-65482

Immediate Actions Required

  • Upgrade XDocReport to a patched version if available from the official repository
  • Implement input validation to reject .docx files from untrusted sources
  • Configure XML parsers to disable DTD processing and external entity resolution
  • Restrict network egress from document processing servers to prevent data exfiltration

Patch Information

Organizations should monitor the XDocReport GitHub repository for security updates addressing this vulnerability. Until a patch is available, implement the workarounds described below to reduce risk exposure.

Workarounds

  • Disable external entity processing in XML parsers by setting XMLConstants.FEATURE_SECURE_PROCESSING to true
  • Block DTD processing by configuring the parser feature http://apache.org/xml/features/disallow-doctype-decl to true
  • Implement network segmentation to isolate document processing systems from sensitive internal resources
  • Use application firewalls to inspect and sanitize uploaded document files before processing
bash
# Java XML Parser Secure Configuration Example
# Add these settings to your XML parser initialization:
# factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
# factory.setFeature("http://xml.org/sax/features/external-general-entities", false);
# factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
# factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechXdocreport

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-611
  • Technical References
  • Google Drive Shared Folder

  • GitHub CVE-2025-65482 PoC

  • GitHub XDocReport Repository

  • HackMD Security Documentation

  • HackMD Security Insights
  • Related CVEs
  • CVE-2025-64087: XDocReport FreeMarker SSTI RCE 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