CVE-2023-5190: Open Redirect Vulnerability in Liferay Portal and Liferay DXP

Summary

20/02/2024
Yes i
Moderate
6.1

CVE-2023-5190: Liferay Portal and Liferay DXP Vulnerable to Open Redirect in Countries Management's Edit Region Page. Affects com.liferay.portal:release.portal.bom versions >= 7.4.3.45-ga45, < 7.4.3.102-ga102. Fixed in 7.4.3.102-ga102. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Liferay Portal and Liferay DXP are powerful platforms designed for building and managing web applications and digital experiences. They provide a range of features including content management, collaboration tools, and user management. However, certain versions of these platforms are susceptible to an open redirect vulnerability, which can allow attackers to redirect users to malicious external URLs.

Vulnerability Detail

The open redirect vulnerability exists in the Countries Management's edit region page of Liferay Portal versions 7.4.3.45 through 7.4.3.101 and Liferay DXP 2023.Q3 prior to patch 6. This vulnerability allows remote attackers to manipulate the _com_liferay_address_web_internal_portlet_CountriesManagementAdminPortlet_redirect parameter, potentially redirecting users to arbitrary external URLs. This could lead to phishing attacks or other malicious activities, compromising user security and trust.

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4.3.102-ga102

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that user input for the redirect parameter is properly validated and sanitized to prevent unauthorized redirects. This can be done by implementing checks to ensure that the redirect URL is within a trusted domain.

Conclusion

CVE-2023-5190 represents a significant security risk for users of Liferay Portal and Liferay DXP. It is crucial for organizations to update their software to the latest patched versions to protect against potential exploitation. Additionally, implementing proper input validation can serve as a temporary measure to mitigate risks until updates can be applied.

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

Share this vulnerability

FAQ

CVE-2023-5190 is an open redirect vulnerability found in specific versions of Liferay Portal and Liferay DXP, allowing attackers to redirect users to external URLs.

The vulnerability affects Liferay Portal versions 7.4.3.45 through 7.4.3.101 and Liferay DXP 2023.Q3 before patch 6.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply analyzing your pom.xml file, you can check for vulnerabilities without needing to install any software.

The CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

If immediate updates are not possible, implement input validation and sanitization for redirect parameters as a temporary workaround to mitigate the risk.

Related vulnerabilities

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

How To Fix

Latest published version: 7.4.3.132 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4.3.102-ga102

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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