CVE-2025-62264

6.1 MEDIUM

📋 TL;DR

This reflected cross-site scripting (XSS) vulnerability in Liferay Portal and DXP allows remote attackers to inject malicious scripts or HTML via a specific parameter. Attackers can steal session cookies, redirect users to malicious sites, or perform actions on behalf of authenticated users. Organizations running affected Liferay versions with internet-facing portals are at risk.

💻 Affected Systems

Products:
  • Liferay Portal
  • Liferay DXP
Versions: Liferay Portal 7.4.3.8 through 7.4.3.111; Liferay DXP 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, and 7.4 update 4 through update 92
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists in the Language Override portlet; any portal using this feature with affected versions is vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal administrator session cookies, gain full administrative access to the portal, and potentially compromise the entire Liferay instance and connected systems.

🟠

Likely Case

Attackers steal user session cookies, impersonate legitimate users to access sensitive data, or redirect users to phishing sites to harvest credentials.

🟢

If Mitigated

With proper input validation and output encoding, the malicious payload is neutralized before execution, preventing any impact.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires tricking a user into clicking a malicious link containing the crafted parameter; no authentication is needed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Liferay Portal 7.4.3.112+; Liferay DXP 2023.Q4.11+, 2023.Q3.11+, 7.4 update 93+

Vendor Advisory: https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62264

Restart Required: No

Instructions:

1. Download the appropriate fix pack from Liferay's customer portal. 2. Apply the fix pack following Liferay's deployment procedures. 3. Verify the patch is applied by checking the version.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement a web application firewall (WAF) or custom filter to block requests containing malicious script patterns in the _com_liferay_portal_language_override_web_internal_portlet_PLOPortlet_selectedLanguageId parameter.

🧯 If You Can't Patch

  • Implement a WAF with XSS protection rules to block malicious payloads.
  • Disable or restrict access to the Language Override portlet if not required.

🔍 How to Verify

Check if Vulnerable:

Test by sending a request with a script payload in the _com_liferay_portal_language_override_web_internal_portlet_PLOPortlet_selectedLanguageId parameter and checking if it executes in the response.

Check Version:

Check the Liferay version via the Control Panel or by examining the liferay-portal.jar file version.

Verify Fix Applied:

After patching, repeat the test; the script should be properly encoded and not execute.

📡 Detection & Monitoring

Log Indicators:

  • Log entries showing requests with suspicious script patterns in the selectedLanguageId parameter.
  • Unexpected error logs from the Language Override portlet.

Network Indicators:

  • HTTP requests containing script tags or JavaScript in the selectedLanguageId parameter.

SIEM Query:

http.uri_param:*selectedLanguageId* AND (http.uri_param:*<script>* OR http.uri_param:*javascript:* OR http.uri_param:*onerror=*)

🔗 References

📤 Share & Export