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-2026-31379

CVE-2026-31379: Apache OFBiz XSS Vulnerability

CVE-2026-31379 is a cross-site scripting flaw in Apache OFBiz that also involves path traversal and code injection risks. This post covers the technical details, affected versions, security impact, and mitigation.

Published: May 21, 2026

CVE-2026-31379 Overview

CVE-2026-31379 affects Apache OFBiz, an open-source enterprise resource planning (ERP) platform. The vulnerability combines three distinct input validation weaknesses: Cross-Site Scripting (XSS), Path Traversal [CWE-22], and Code Injection. All versions of Apache OFBiz prior to 24.09.06 are affected. The Apache OFBiz project released version 24.09.06 to remediate the issue.

The flaw requires user interaction for successful exploitation and operates over the network without authentication. Successful exploitation can lead to limited compromise of confidentiality and integrity within the affected web application context.

Critical Impact

Unauthenticated attackers can deliver malicious payloads through crafted requests to inject scripts, traverse directories, or execute code within the Apache OFBiz application when a user is lured to interact with attacker-controlled content.

Affected Products

  • Apache OFBiz versions prior to 24.09.06
  • All deployments exposing OFBiz web interfaces to untrusted networks
  • ERP, CRM, and e-commerce implementations built on Apache OFBiz

Discovery Timeline

  • 2026-05-19 - CVE-2026-31379 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-31379

Vulnerability Analysis

CVE-2026-31379 bundles three input validation weaknesses within Apache OFBiz request handling. The Cross-Site Scripting component arises from improper neutralization of user-supplied input during web page generation. The Path Traversal weakness, tracked as [CWE-22], permits attackers to reference files outside the intended directory using crafted path sequences. The Code Injection component enables an attacker to influence dynamic code generation paths.

Apache OFBiz exposes numerous controllers, screen renderers, and form widgets that process untrusted parameters. When these components fail to sanitize input before rendering output or constructing file paths, attacker-controlled data flows into sensitive sinks. The attack chain requires user interaction, such as clicking a crafted link, and the scope change indicates that exploitation can affect resources beyond the vulnerable component.

Root Cause

The root cause lies in insufficient input neutralization across multiple request-handling code paths in Apache OFBiz. Parameters supplied in HTTP requests reach output encoding routines, file system access routines, and dynamic execution routines without adequate filtering. The shared theme across all three weaknesses is missing or incomplete validation of untrusted strings.

Attack Vector

An attacker delivers a crafted URL or HTTP request targeting a vulnerable OFBiz endpoint. The victim, typically an authenticated OFBiz user, interacts with the link. The server processes the malicious input, executing the injected script in the browser, accessing files outside the permitted directory, or evaluating attacker-supplied code. Network-based exploitation makes internet-facing OFBiz deployments the highest-risk targets.

No verified public proof-of-concept code is available at this time. Refer to the Apache Mailing List Discussion for vendor details.

Detection Methods for CVE-2026-31379

Indicators of Compromise

  • HTTP requests containing path traversal sequences such as ../ or URL-encoded equivalents (%2e%2e%2f) targeting OFBiz endpoints
  • Request parameters containing <script> tags, JavaScript event handlers, or template expression syntax
  • Outbound connections from the OFBiz Java process to unexpected destinations following anomalous requests
  • Unexpected file reads from OFBiz worker threads outside the standard application directories

Detection Strategies

  • Inspect web server and application logs for requests containing encoded traversal patterns or script payloads against OFBiz controllers
  • Deploy web application firewall rules that flag suspicious parameter values directed at OFBiz screen and form endpoints
  • Monitor the OFBiz JVM for unusual child process creation or runtime code evaluation activity

Monitoring Recommendations

  • Centralize OFBiz access and error logs and alert on repeated 4xx/5xx responses tied to crafted parameter inputs
  • Track file system access by the OFBiz service account and alert on reads outside ${ofbiz.home} subdirectories
  • Baseline normal request patterns to OFBiz endpoints and alert on anomalous URL structures or oversized parameters

How to Mitigate CVE-2026-31379

Immediate Actions Required

  • Upgrade Apache OFBiz to version 24.09.06 or later as recommended by the project maintainers
  • Restrict network access to OFBiz administrative interfaces using firewall rules or reverse proxy access controls
  • Review web server logs for prior exploitation attempts using traversal or scripting payloads
  • Rotate session tokens and credentials if exploitation indicators are observed

Patch Information

The Apache OFBiz project addressed CVE-2026-31379 in version 24.09.06. Administrators should apply the upgrade following the standard OFBiz deployment process. Refer to the Apache Mailing List Discussion and the OpenWall OSS Security Update for vendor guidance.

Workarounds

  • Place the OFBiz application behind a web application firewall configured with rules blocking traversal sequences and script payloads
  • Limit OFBiz exposure to trusted networks or VPN access where business requirements permit
  • Disable unused OFBiz components and endpoints to reduce the available attack surface until the upgrade is applied
bash
# Configuration example: upgrade Apache OFBiz to the fixed release
git fetch --all --tags
git checkout release24.09
git pull origin release24.09
./gradlew cleanAll loadDefault
./gradlew ofbiz

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechApache Ofbiz

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.13%

  • 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-22
  • Technical References
  • OpenWall OSS Security Update
  • Vendor Resources
  • Apache Mailing List Discussion
  • Related CVEs
  • CVE-2026-31906: Apache OFBiz XSS Vulnerability

  • CVE-2020-9496: Apache OFBiz XSS Vulnerability

  • CVE-2026-46586: Apache OFBiz RCE Vulnerability Explained

  • CVE-2026-45434: Apache OFBiz RCE 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