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-44665

CVE-2026-44665: fast-xml-builder XSS Vulnerability

CVE-2026-44665 is an XSS flaw in fast-xml-builder that allows attackers to inject malicious attributes through quote manipulation in XML/HTML output. This article covers technical details, affected versions, and mitigations.

Published: May 17, 2026

CVE-2026-44665 Overview

CVE-2026-44665 is an XML attribute injection vulnerability in fast-xml-builder, a JavaScript library that constructs XML from JSON input. Versions prior to 1.1.7 mishandle quote characters in attribute values when the process entities option is disabled. The library breaks a single attribute value into multiple attributes, allowing an attacker to inject arbitrary XML or HTML attributes into the output document. The flaw is tracked under CWE-91: XML Injection.

Critical Impact

Attackers can inject unintended XML or HTML attributes into generated documents, enabling downstream cross-site scripting or content manipulation when the output is rendered in a browser.

Affected Products

  • fast-xml-builder versions prior to 1.1.7
  • Applications using fast-xml-builder with process entities disabled
  • Downstream consumers rendering generated XML or HTML output

Discovery Timeline

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

Technical Details for CVE-2026-44665

Vulnerability Analysis

The fast-xml-builder library converts JSON objects into XML documents. When the process entities option is disabled, the builder skips escaping of quote characters embedded in attribute values. The attribute serializer treats an embedded quote as the closing delimiter of the current attribute, then interprets the remaining characters as additional attributes. An attacker who controls part of an attribute value can terminate the attribute early and append arbitrary attributes to the element.

The attack surface depends on whether application-controlled data reaches attribute values without prior sanitization. If the generated XML is consumed as HTML, injected attributes such as event handlers can introduce client-side script execution. User interaction is required to render the malicious output, and the scope changes because the injected content executes in a different security context than the producer.

Root Cause

The root cause is missing output encoding of the double-quote character in attribute serialization when entity processing is disabled. The serializer concatenates the raw attribute value between delimiter quotes without verifying that the value itself contains no delimiter. This violates the contract that attribute values must escape " as " per the XML specification.

Attack Vector

Exploitation requires an attacker to supply input that feeds into a JSON property serialized as an XML attribute. The payload contains a " character followed by attacker-chosen attribute names and values. When the builder emits the element, the resulting markup carries the injected attributes. Refer to the GitHub Security Advisory GHSA-5wm8-gmm8-39j9 for the technical reproduction details.

Detection Methods for CVE-2026-44665

Indicators of Compromise

  • Generated XML or HTML output containing unexpected attributes such as onerror, onload, or onclick on elements built from user-controlled JSON
  • Application logs showing JSON input fields containing literal " characters destined for attribute serialization
  • Anomalous client-side script execution originating from server-rendered XML or HTML responses

Detection Strategies

  • Audit application dependencies for fast-xml-builder versions below 1.1.7 using npm ls fast-xml-builder or equivalent software composition analysis tooling
  • Inspect builder configuration for instances where processEntities is set to false and attribute values originate from untrusted sources
  • Add output validation that compares the count of attributes in generated elements against the count of attributes provided in the source JSON

Monitoring Recommendations

  • Monitor web application firewall logs for double-quote characters appearing in JSON request bodies targeting endpoints that emit XML or HTML
  • Track Content Security Policy violation reports that indicate unexpected inline event handlers in rendered pages
  • Alert on dependency manifest changes that reintroduce vulnerable fast-xml-builder versions during build pipelines

How to Mitigate CVE-2026-44665

Immediate Actions Required

  • Upgrade fast-xml-builder to version 1.1.7 or later across all production and development environments
  • Identify every code path that passes untrusted data into the builder and confirm the fix is deployed before resuming traffic
  • Re-run software composition analysis after the upgrade to verify no transitive dependency pins an older version

Patch Information

The maintainers released fast-xml-builder version 1.1.7, which properly escapes quote characters in attribute values regardless of the processEntities setting. Patch details are published in the GitHub Security Advisory GHSA-5wm8-gmm8-39j9.

Workarounds

  • Enable the processEntities option in the builder configuration so that quote characters are encoded during attribute serialization
  • Sanitize JSON input to strip or encode " characters in fields that will be serialized as XML attributes
  • Apply downstream HTML sanitization on generated output before delivering it to browsers
bash
# Configuration example
npm install fast-xml-builder@^1.1.7
npm audit --production

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

  • Vulnerability Details
  • TypeXSS

  • 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-44664: fast-xml-builder XXE 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