A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Read More
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-44664

CVE-2026-44664: fast-xml-builder XXE Vulnerability

CVE-2026-44664 is an XXE flaw in fast-xml-builder that allows attackers to break out of XML comments and inject arbitrary content. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-44664 Overview

CVE-2026-44664 is an XML injection vulnerability [CWE-91] in the fast-xml-builder library, which constructs XML documents from JSON input. Version 1.1.5 introduced an incomplete fix for CVE-2026-41650 that sanitized -- sequences within XML comment content using .replace(/--/g, '- -'). The sanitizer fails to handle three or more consecutive dashes such as --->, allowing attackers to break out of an XML comment context and inject arbitrary XML or HTML content. The maintainers fixed the issue in version 1.1.6.

Critical Impact

Attackers who control JSON input passed into fast-xml-builder 1.1.5 can escape XML comment boundaries and inject XML or HTML content into the generated document.

Affected Products

  • fast-xml-builder version 1.1.5
  • Applications using fast-xml-builder to convert untrusted JSON into XML
  • Downstream services consuming XML output produced by vulnerable builder versions

Discovery Timeline

  • 2026-05-13 - CVE-2026-44664 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-44664

Vulnerability Analysis

The fast-xml-builder package serializes JSON structures into XML documents. After CVE-2026-41650 was disclosed, the maintainers added a sanitizer that prevents user-controlled values from terminating XML comments. The mitigation replaces every occurrence of -- inside comment content with - -, ensuring that the --> terminator cannot be produced from a single double-dash sequence.

The regular expression /--/g performs non-overlapping left-to-right matching. When three dashes appear consecutively, only the first two are rewritten, leaving the trailing dash intact. A payload such as ---> becomes - -> after one replacement attempt, yet certain input arrangements still allow the original --> sequence to survive sanitization, breaking out of the comment.

An attacker who controls a JSON value that the host application embeds inside an XML comment can terminate the comment early and append attacker-controlled XML or HTML markup. Where the downstream consumer renders the output in a browser, the injected content can include script-bearing markup, supporting client-side attacks.

Root Cause

The root cause is incomplete input neutralization [CWE-91]. The sanitizer treats -- as the only dangerous token and does not account for runs of three or more dashes or for overlapping matches that reconstruct the comment terminator --> after a single pass of String.prototype.replace.

Attack Vector

The attack vector is network-based and requires user interaction, consistent with a stored or reflected injection that triggers when a victim renders the generated XML or HTML. The attacker supplies a crafted JSON value containing sequences such as ---> to any application that passes user input through fast-xml-builder 1.1.5 into a comment node, then waits for the document to be parsed or rendered.

No verified public proof-of-concept code is referenced in the advisory. See the GitHub Security Advisory GHSA-45c6-75p6-83cc for technical details from the maintainers.

Detection Methods for CVE-2026-44664

Indicators of Compromise

  • XML or HTML output containing unexpected closing comment sequences such as --> followed by attacker markup adjacent to fields populated from JSON input.
  • Generated documents where <!-- ... --> regions contain three or more consecutive dashes or HTML tags that should not appear in a comment.
  • Application logs showing JSON payloads with --->, ---->, or longer dash runs in fields that are serialized into XML comments.

Detection Strategies

  • Inventory all Node.js services that depend on fast-xml-builder and identify those pinned to version 1.1.5 using npm ls fast-xml-builder or lockfile inspection.
  • Add static checks in code review that flag any pattern where untrusted input is embedded inside an XML comment node produced by the builder.
  • Compare generated XML against expected schemas in integration tests to catch markup that escapes its intended element or comment context.

Monitoring Recommendations

  • Log and alert on inbound JSON requests containing runs of three or more dash characters in string values destined for XML generation.
  • Monitor outbound XML or HTML responses for unbalanced comment delimiters or unexpected tags adjacent to dynamic fields.
  • Track dependency manifests in CI pipelines and fail builds that resolve fast-xml-builder to vulnerable 1.1.5.

How to Mitigate CVE-2026-44664

Immediate Actions Required

  • Upgrade fast-xml-builder to version 1.1.6 or later across all applications and rebuild affected services.
  • Audit code paths that place user-controlled values inside XML comments and treat comment content as untrusted output context.
  • Re-validate any cached or persisted XML produced by 1.1.5 before sending it to downstream consumers or browsers.

Patch Information

The vulnerability is fixed in fast-xml-builder 1.1.6. Refer to the GitHub Security Advisory GHSA-45c6-75p6-83cc for the maintainer's release notes and patch references.

Workarounds

  • Strip or reject dash runs of length two or greater from any JSON value that will be serialized into an XML comment before invoking the builder.
  • Avoid placing user-controlled input inside XML comments entirely; serialize untrusted data into element text or attributes where standard XML escaping applies.
  • Apply output encoding at the rendering layer so that any markup surviving sanitization is displayed as text rather than parsed as HTML.
bash
# Upgrade fast-xml-builder to the fixed release
npm install fast-xml-builder@^1.1.6
npm ls fast-xml-builder

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechFast Xml Builder

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-91
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44665: fast-xml-builder XSS Vulnerability
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