Skip to main content

Apache OFBiz CVE-2026-31379

| EUVDEUVD-2026-30860 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-19 apache GHSA-vrqp-r2f3-7qfj
6.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI
6.1 MEDIUM

Network-delivered XSS requires no privileges but mandates user interaction; scope change reflects cross-origin browser impact; no availability impact applies.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
Analysis Generated
Jul 23, 2026 - 17:55 vuln.today
Patch available
May 19, 2026 - 11:16 EUVD
CVE Published
May 19, 2026 - 09:22 nvd
UNKNOWN (no severity yet)
CVE Published
May 19, 2026 - 09:22 cve.org
MEDIUM 6.1

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OFBiz.

This issue affects Apache OFBiz: before 24.09.06.

Users are recommended to upgrade to version 24.09.06, which fixes the issue.

AnalysisAI

Cross-site scripting, path traversal, and code injection vulnerabilities in Apache OFBiz before version 24.09.06 expose unauthenticated network attackers to the ability to inject malicious scripts into web pages rendered by authenticated users, with the scope change (S:C) in the CVSS vector indicating cross-origin impact such as session hijacking. The co-presence of path traversal and code injection primitives alongside XSS suggests potential for chained exploitation beyond a standard reflected XSS attack, though SSVC rates current exploitation as none and EPSS sits at 0.03% (9th percentile), indicating very low real-world exploitation probability at time of analysis. No public exploit code and no active exploitation (KEV) have been identified; vendor-released patch 24.09.06 is available.

Technical ContextAI

Apache OFBiz is an open-source Java-based enterprise resource planning (ERP) framework widely used in manufacturing, e-commerce, and retail verticals, covering inventory, accounting, and order management. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), reflecting insufficient input sanitization before rendering user-controlled data into HTML responses. The co-listed weaknesses - path traversal (CWE-22) and code injection (CWE-94) - suggest that the same unsanitized input pathways can be manipulated to escape restricted directories or inject executable code fragments, potentially via OFBiz's Groovy-based scripting engine or Freemarker template layer. The CPE cpe:2.3:a:apache_software_foundation:apache_ofbiz:*:*:*:*:*:*:*:* covers all versions of the application without platform restriction.

RemediationAI

The primary fix is upgrading Apache OFBiz to version 24.09.06, as recommended by the Apache Software Foundation in their advisory at https://lists.apache.org/thread/1tcnkxjm0s6n1ohfb21brl25dt0hv9by. For deployments where immediate upgrade is not feasible, consider restricting public internet access to OFBiz endpoints using a WAF rule that blocks requests containing path traversal sequences (e.g., ../) and common XSS payloads in URL parameters and POST bodies - note that WAF coverage of code injection via template engines is imperfect and should not substitute patching. Additionally, placing OFBiz behind an authenticated reverse proxy can mitigate the PR:N attack vector by requiring prior authentication before reaching the vulnerable endpoints, though this introduces user friction for legitimate external access. The Openwall oss-security thread at http://www.openwall.com/lists/oss-security/2026/05/19/18 may contain additional technical detail to inform interim mitigations.

CVE-2026-45434 CRITICAL
9.8 May 19

Remote code execution in Apache OFBiz before 24.09.06 stems from an improper authentication flaw in the password-change

CVE-2026-41919 CRITICAL
9.1 May 19

LDAP injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject special characters into

CVE-2026-31986 CRITICAL
9.1 May 19

Sensitive data exposure and integrity compromise in Apache OFBiz before 24.09.06 stems from a hard-coded cryptographic k

CVE-2026-46586 HIGH
8.8 May 19

Authenticated code injection in Apache OFBiz versions prior to 24.09.06 allows remote attackers with low-privileged acco

CVE-2026-31909 HIGH
7.5 May 19

Information disclosure in Apache OFBiz before 24.09.06 lets remote unauthenticated attackers retrieve sensitive data the

CVE-2026-31910 HIGH
7.5 May 19

Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server

CVE-2026-29226 HIGH
7.3 May 19

Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server

CVE-2026-31378 MEDIUM
6.5 May 19

Improper input validation in Apache OFBiz before 24.09.06 allows unauthenticated remote attackers to achieve partial con

CVE-2026-35086 MEDIUM
6.5 May 19

Code injection in Apache OFBiz's email services exposes all versions before 24.09.06 to unauthenticated remote exploitat

CVE-2026-31380 MEDIUM
6.5 May 19

Expression Language Injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject and eval

CVE-2026-29207 MEDIUM
6.5 May 19

Server-side template injection (SSTI) in Apache OFBiz before 24.09.06 allows attackers with access to the Ecommerce Cust

CVE-2026-29220 MEDIUM
6.5 May 19

Path traversal in Apache OFBiz before 24.09.06 exposes unauthenticated remote attackers to file read and limited file wr

Share

CVE-2026-31379 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy