CVE-2022-25813: Server-Side Template Injection affecting the ecommerce plugin of Apache OFBiz
Vulnerability summary
CVE-2022-25813 is a high (CVSS 7.5) vulnerability in apache software foundation apache ofbiz. EPSS estimates a 67.77% chance of exploitation in the next 30 days, higher than 99.3% of scored vulnerabilities.
Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 68% (FIRST, 04-12-2026)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 02-09-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
67.77%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
Increase +0.51 pp
From 67.26% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-1336Improper Neutralization of Special Elements Used in a Template EngineThe product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.
- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- ofbiz< 18.12.06
Apache software foundation1 product
- apache ofbiz≥ Apache OFBiz, ≤ 18.12.05
2 vendors · 2 products
References
2 links- lists.apache.org/thread/vmj5s0qb59t0lvzf3vol3z1sc3sgyb2bX Refsource MISCMailing ListPatchVendor Advisory
- www.openwall.com/lists/oss-security/2022/09/02/4Mailing ListX Refsource MLISTPatchThird Party Advisory