Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.liferay/com.liferay.layout.type.controller.display.page
  4. ›
  5. CVE-2025-43742

CVE-2025-43742: Liferay Portal Vulnerable to Cross-Site Scripting through URLs

August 20, 2025

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.3, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.14 and 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript in web content for friendly urls.

References

  • github.com/advisories/GHSA-3fp2-6mwq-4q3j
  • github.com/liferay/liferay-portal
  • github.com/liferay/liferay-portal/commit/9bd2ae22416d20f5e8ce2800ea96993c7df98f95
  • github.com/liferay/liferay-portal/commit/f2621572ca5abfe46bad0dca2fa4836deeefa000
  • liferay.atlassian.net/browse/LPE-18192
  • liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43742
  • nvd.nist.gov/vuln/detail/CVE-2025-43742

Code Behaviors & Features

Detect and mitigate CVE-2025-43742 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.59

Fixed versions

  • 3.0.59

Solution

Upgrade to version 3.0.59 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/com.liferay/com.liferay.layout.type.controller.display.page/CVE-2025-43742.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 Aug 2025 00:18:43 +0000.