CVE-2023-3193: Liferay Portal and Liferay DXP Vulnerable to XSS via the Layout Module

Summary

15/06/2023
Yes i
Moderate
6.1

CVE-2023-3193: Liferay Portal and Liferay DXP Vulnerable to XSS via the Layout Module. Affects com.liferay.portal:release.portal.bom versions >= 7.4.3.70-ga70, < 7.4.3.74-ga74. Fixed in 7.4.3.74-ga74. 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 is a popular open-source platform for building web applications and managing content. It provides a robust set of features for enterprise-level applications, including user management, content management, and collaboration tools. Liferay DXP is the commercial version that offers additional features and support. The vulnerability in question affects the Layout module's SEO configuration, which is responsible for managing the search engine optimization settings of web pages. This vulnerability allows attackers to exploit the system through cross-site scripting (XSS), potentially compromising user data and application integrity.

Vulnerability Detail

The vulnerability is a cross-site scripting (XSS) flaw found in the Layout module's SEO configuration in Liferay Portal versions 7.4.3.70 through 7.4.3.73 and Liferay DXP versions 7.4 update 70 through 73. It arises from improper handling of user input in the _com_liferay_layout_admin_web_portlet_GroupPagesPortlet_backURL parameter, allowing remote attackers to inject arbitrary web scripts or HTML. If exploited, this could lead to unauthorized actions being performed on behalf of users, data theft, or the distribution of malware.

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.74-ga74

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

If immediate patching is not feasible, consider implementing input validation and sanitization for the _com_liferay_layout_admin_web_portlet_GroupPagesPortlet_backURL parameter to mitigate the risk of XSS attacks. This can be done by ensuring that any user input is properly encoded before being rendered on the web page.

Conclusion

CVE-2023-3193 represents a significant security risk for users of Liferay Portal and Liferay DXP due to its potential for XSS attacks. It is crucial for users to update their systems to the latest patched versions to mitigate this vulnerability and protect their applications and users.

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

Share this vulnerability

FAQ

CVE-2023-3193 is a cross-site scripting (XSS) vulnerability affecting Liferay Portal and Liferay DXP, allowing attackers to inject malicious scripts through a specific parameter.

Liferay Portal versions 7.4.3.70 to 7.4.3.73 and Liferay DXP versions 7.4 update 70 to 73 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability could lead to unauthorized actions, data theft, or the distribution of malware, compromising user security and application integrity.

The CVSS score for CVE-2023-3193 is 6.1, indicating a moderate severity level.

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.74-ga74

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