CVE-2022-25813Ofbiz Code Injection
In Apache OFBiz, versions 18.12.05 and earlier, an attacker acting as an anonymous user of the ecommerce plugin, can insert a malicious content in a message “Subject” field from the "Contact us" page.
Published Sep 2, 2022 · Updated Oct 28, 2026
Key Facts
Patch immediately- CVE-2022-25813 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Ofbiz (Apache).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 68% probability of exploitation in the next 30 days.
- Fixed versions are available, including Ofbiz 18.12.06.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS (30-day exploit likelihood)
68%
Higher than 99.3% of all scored CVEs
Exploit maturity
None known
ATLAS score
28/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
In Apache OFBiz, versions 18.12.05 and earlier, an attacker acting as an anonymous user of the ecommerce plugin, can insert a malicious content in a message “Subject” field from the "Contact us" page. Then a party manager needs to list the communications in the party component to activate the SSTI. A RCE is then possible.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| OfbizApache | >= Apache OFBiz | 18.12.06 |
Patched Releases
Ofbiz
18.12.06
Timeline
Publicly disclosed
Sep 2, 2022
Last updated
Oct 28, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
FAQ
Common Questions.
In Apache OFBiz, versions 18.12.05 and earlier, an attacker acting as an anonymous user of the ecommerce plugin, can insert a malicious content in a message “Subject” field from the "Contact us" page.
Affected: Ofbiz (Apache) versions >= Apache OFBiz. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Ofbiz 18.12.06.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2022-25813 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo