{"id":"CVE-2022-25813","published":"2022-09-02T07:10:18Z","modified":"2024-08-03T04:49:43Z","title":"Server-Side Template Injection affecting the ecommerce plugin of Apache OFBiz","vendor":"Apache Software Foundation","product":"Apache OFBiz","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache OFBiz","versions":[">= Apache OFBiz, <= 18.12.05"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Server-Side Template Injection in the ecommerce plugin of Apache OFBiz (Apache Software Foundation), where the message \"Subject\" field on the \"Contact us\" page is not neutralised before it is rendered by the template engine. An anonymous user can submit a crafted subject, and once a party manager lists the communications in the party component, the injected template is evaluated, allowing remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:22Z"},"cvss":null,"epss":{"score":0.67771,"percentile":0.99331,"date":"2026-11-19","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://lists.apache.org/thread/vmj5s0qb59t0lvzf3vol3z1sc3sgyb2b","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/02/4","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-30453","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-30453","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-12-17","earliestUrl":"https://github.com/mbadanoiu/CVE-2022-25813","repos":[{"name":"mbadanoiu/CVE-2022-25813","url":"https://github.com/mbadanoiu/CVE-2022-25813","stars":0,"created":"2023-12-17"}]},"first":{"date":"2023-12-17","source":"PoC-in-GitHub","url":"https://github.com/mbadanoiu/CVE-2022-25813"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-09-02","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-25813","provenance":"source"},{"date":"2023-12-17","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/mbadanoiu/CVE-2022-25813","provenance":"source"}],"speed":{"daysToPublicExploit":471,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.87,"detail":"percentile 0.9933"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}