# Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery

Advisory record · `GHSA-c6g5-g6r7-q4j6`

- **Identifiers:** `GHSA-c6g5-g6r7-q4j6` · `CVE-2025-4655`
- **State:** Confirmed
- **Severity:** CVSS 5.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 9 Aug 2025
- **Updated:** 12 Aug 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Aug 2025, 06:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.liferay.portal:release.portal.bom` (Maven): affected `>=7.4.0, <=7.4.3.132`; no fixed version yet
- `com.liferay.portal:release.dxp.bom` (Maven): affected `>=2025.Q1.0, <2025.Q1.6 || >=2024.Q4.0, <=2024.Q4.7 || >=2024.Q3.1, <=2024.Q3.13 || >=2024.Q2.0, <=2024.Q2.13 || >=2024.Q1.0, <2024.Q1.16 || <=7.4.13.u92`; fixed in `2025.Q1.6`, `2024.Q1.16`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Liferay Portal 7.4.0 through 7.4.3.132 and Liferay DXP 2025.Q1.0 through 2025.Q1.5, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.15, and 7.4 GA through update 92 are affected by a server-side request forgery flaw in FreeMarker templates. An attacker who can edit templates can bypass access validation using crafted URLs to make the server issue requests. Upgrade Liferay DXP to 2025.Q1.6 or 2024.Q1.16. No fix is listed for Liferay Portal.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.1 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N`, from CNA (Liferay)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-c6g5-g6r7-q4j6)

## Sources

- [GitHub Advisory Database: GHSA-c6g5-g6r7-q4j6](https://github.com/advisories/GHSA-c6g5-g6r7-q4j6)
- [OSV: GHSA-c6g5-g6r7-q4j6](https://osv.dev/vulnerability/GHSA-c6g5-g6r7-q4j6)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4655>
- <https://github.com/liferay/liferay-portal>
- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-4655>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-c6g5-g6r7-q4j6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-c6g5-g6r7-q4j6/>. Everything for agents: <https://agentprime.io/llms.txt>.
