Skip to main content

Apache OFBiz CVE-2026-31906

| EUVDEUVD-2026-30868 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-19 apache GHSA-6hh7-r867-mmv2
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 auth but mandates victim interaction (UI:R); injected script crosses into browser context (S:C) with limited cookie/DOM impact (C:L/I:L) and no availability effect.

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:N/VI:N/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:53 vuln.today
Patch available
May 19, 2026 - 11:16 EUVD
CVE Published
May 19, 2026 - 09:30 nvd
UNKNOWN (no severity yet)
CVE Published
May 19, 2026 - 09:30 cve.org
MEDIUM 6.1

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 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 in Apache OFBiz before version 24.09.06 allows remote unauthenticated attackers to inject malicious scripts into web pages rendered in victims' browsers, enabling session hijacking, credential theft, or unauthorized ERP actions performed on behalf of the victim. The CVSS scope change (S:C) confirms the injected script escapes the OFBiz application context and executes in the victim's browser security domain. No active exploitation is confirmed - SSVC rates exploitation as 'none,' EPSS sits at 0.03% (8th percentile), and no public exploit code is referenced; however, a vendor-released patch to version 24.09.06 is available and should be applied.

Technical ContextAI

Apache OFBiz is an open-source Java-based Enterprise Resource Planning (ERP) framework covering order management, accounting, and manufacturing workflows. The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning user-supplied input reaches the HTTP response without adequate sanitization or output encoding, allowing an attacker to embed arbitrary JavaScript or HTML. The CVSS vector's Scope:Changed metric confirms the injected code executes outside OFBiz's own security domain - in the victim's browser context - which is the defining characteristic of a classic reflected or stored XSS. The CPE string cpe:2.3:a:apache_software_foundation:apache_ofbiz:*:*:*:*:*:*:*:* covers all OFBiz releases across all platforms up to the fix boundary.

RemediationAI

Upgrade Apache OFBiz to version 24.09.06 or later, which resolves this issue per the vendor advisory at https://lists.apache.org/thread/1fblqdo89d3ps8kgtcnkcq8sh7gwkcpn. If immediate patching is not feasible, deploy a Web Application Firewall with XSS filtering rules targeting OFBiz endpoints; note that WAF rules require tuning to avoid false positives on legitimate OFBiz form submissions. Implementing strict Content Security Policy (CSP) response headers (specifically default-src 'self' and script-src without 'unsafe-inline') will significantly reduce the impact of any injected script by preventing inline execution and restricting external script loading - this is an effective compensating control but does not eliminate the underlying injection flaw. For public-facing deployments, consider restricting access to OFBiz web endpoints by IP allowlist to limit the attacker's ability to deliver the payload, accepting the trade-off of reduced accessibility.

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-31906 vulnerability details – vuln.today

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