# CVE-2025-43825: Liferay Portal exposes sensitive user data through its Freemarker template

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: High; User interaction: Active; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.51% (percentile 37, 2026-11-26)
- **CWE:** CWE-201
- **Aliases:** GHSA-rggc-gf6w-9q73
- **Published:** 2025-10-03T21:16:28.135Z
- **Modified:** 2026-10-18T21:10:00.120Z

## Who should check

- Projects that depend on Maven package com.liferay:com.liferay.portal.template.freemarker (\>= 7.0.3, \< 7.0.60)
- Anyone running Liferay Portal \>= 7.4.0, \<= 7.4.3.132
- Anyone running Liferay DXP \>= 2023.Q3.1, \<= 2023.Q3.10; \>= 2023.Q4.0, \<= 2024.Q4.10; \>= 2024.Q1.1, \<= 2024.Q1.12; \>= 2024.Q2.1, \<= 2024.Q2.13; \>= 2024.Q3.0, \<= 2024.Q3.13; \>= 2024.Q4.0, \<= 2024.Q4.5; \>= 2025.Q1.0, \<= 2025.Q1.4

## Description

A vulnerability in Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.4, 2024.Q4.0 through 2024.Q4.5, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.1 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, and 7.4 GA through update 92 allows sensitive user data to be included in the Freemarker template. This weakness permits an unauthorized actor to gain access to, and potentially render, confidential information that should remain restricted.

## Affected and fixed versions

- Maven `com.liferay:com.liferay.portal.template.freemarker`: affected \>= 7.0.3, \< 7.0.60; fixed 7.0.60 (osv)
- Liferay Portal: \>= 7.4.0, \<= 7.4.3.132 (cvelist)
- Liferay DXP: \>= 2023.Q3.1, \<= 2023.Q3.10; \>= 2023.Q4.0, \<= 2024.Q4.10; \>= 2024.Q1.1, \<= 2024.Q1.12; \>= 2024.Q2.1, \<= 2024.Q2.13; \>= 2024.Q3.0, \<= 2024.Q3.13; \>= 2024.Q4.0, \<= 2024.Q4.5; \>= 2025.Q1.0, \<= 2025.Q1.4 (cvelist)

## Mitigation

- Upgrade com.liferay:com.liferay.portal.template.freemarker to 7.0.60 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-43825. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-43825.md
Affected: com.liferay:com.liferay.portal.template.freemarker >= 7.0.3, < 7.0.60
Fixed in: 7.0.60

Steps:
1. Search this machine and project for com.liferay:com.liferay.portal.template.freemarker (Maven), Liferay Portal, Liferay DXP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-43825 being exploited?

There is no confirmed exploitation: CVE-2025-43825 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-43825?

Medium: CVSS 4.6 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-43825?

com.liferay:com.liferay.portal.template.freemarker \>= 7.0.3, \< 7.0.60.

### Is there a fix for CVE-2025-43825?

Yes. Fixed in 7.0.60. Upgrade com.liferay:com.liferay.portal.template.freemarker to 7.0.60 or later.

### How do I check if I'm affected by CVE-2025-43825?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43825>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-43825>
- patch: <https://github.com/liferay/liferay-portal/commit/ff6c9fb24587a0c7bf3c48356a38b3f492670ea0>
- other: <https://github.com/liferay/liferay-portal>
- other: <https://liferay.atlassian.net/browse/LPE-18166>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-43825>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rggc-gf6w-9q73> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-43825> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-43825>
