Skip to main content

CVE-2023-42497 — Vulnerability in com.liferay.translation.web

CRITICAL

Liferay Portal and Liferay DXP Vulnerable to Reflected XSS via the Export for Translation Page

Published October 17, 2023Updated August 8, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.73%). Schedule for your next planned update.

Does your project use an affected com.liferay:com.liferay.translation.web version?

Paste your pom.xml to check it for CVE-2023-42497 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Reflected cross-site scripting (XSS) vulnerability on the Export for Translation page before 2.0.86 from Liferay Portal (7.4.3.4 through 7.4.3.85), and Liferay DXP 7.4 before update 86 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_translation_web_internal_portlet_TranslationPortlet_redirect parameter.

Advisory Timeline

  • First published October 17, 2023 (1136 days ago).
  • Last revised August 8, 2025 — 662 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay:com.liferay.translation.web to 2.0.86 or later
<!-- Update pom.xml dependency version to 2.0.86 for com.liferay:com.liferay.translation.web -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.4.13.u86 or later
<!-- Update pom.xml dependency version to 7.4.13.u86 for com.liferay.portal:release.dxp.bom -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Maven (2).

PackageFixed In
com.liferay:com.liferay.translation.web Maven · Affected: 1.0.0, 1.0.1, 1.0.10, 1.0.11 (+115 more)2.0.86
com.liferay.portal:release.dxp.bom Maven · Affected: 7.4.10.ep1, 7.4.11, 7.4.12, 7.4.13 (+81 more)7.4.13.u86

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-42497?
Liferay Portal and Liferay DXP Vulnerable to Reflected XSS via the Export for Translation Page. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2023-42497?
CVE-2023-42497 affects com.liferay:com.liferay.translation.web and com.liferay.portal:release.dxp.bom. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-42497 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.73%
EPSS percentile: 50.1

This is an above-median EPSS score — 50.1% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-w2g3-j73q-7qv7
BIT-liferay-2023-42497

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml