CVE-2025-4655: SSRF Vulnerability in Liferay Portal and Liferay DXP

Summary

09/08/2025
No i
Moderate
5.1

CVE-2025-4655: Liferay Portal and Liferay DXP vulnerable to Server-Side Request Forgery. Affects com.liferay.portal:release.portal.bom versions >= 7.4.0, <= 7.4.3.132. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Liferay Portal and Liferay DXP are popular open-source platforms used for building web applications and managing digital experiences. They provide a robust set of features for content management, collaboration, and workflow automation. However, certain versions of these platforms are vulnerable to a Server-Side Request Forgery (SSRF) attack, which can allow unauthorized access to internal resources.

Vulnerability Detail

An SSRF vulnerability exists in FreeMarker templates within Liferay Portal versions 7.4.0 to 7.4.3.132 and Liferay DXP versions 2025.Q1.0 to 2025.Q1.5, among others. This vulnerability allows template editors to bypass access validations by crafting malicious URLs, potentially leading to unauthorized data exposure or manipulation. The vulnerability arises from insufficient validation of user input in template rendering, which can be exploited by attackers to send requests to internal services.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, restrict access to the template editing functionality to trusted users only, and implement additional validation on user inputs to prevent the exploitation of the SSRF vulnerability.

Conclusion

The SSRF vulnerability in Liferay Portal and Liferay DXP poses a moderate risk to users of affected versions. It is crucial to update to the latest patched versions to mitigate this risk. Users are also encouraged to implement temporary workarounds and monitor their systems for any suspicious activity.

See every vulnerability recorded for com.liferay.portal:release.portal.bom →

Share this vulnerability

FAQ

SSRF (Server-Side Request Forgery) is a type of security vulnerability that allows an attacker to send crafted requests from a vulnerable server to internal or external resources, potentially leading to unauthorized access or data exposure.

The affected versions include Liferay Portal 7.4.0 through 7.4.3.132 and Liferay DXP 2025.Q1.0 through 2025.Q1.5, among others.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply using your pom.xml, you can check for vulnerabilities without needing to access the code or installation.

If immediate updates are not possible, consider implementing access restrictions and input validation as a temporary workaround to mitigate the risk of exploitation.

Detailed information about this vulnerability can be found in the advisory published on GitHub, as well as through security bulletins from Liferay.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay.portal:release.portal.bom.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback