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

- Severity: Medium 6.9 (CVSS:4.0, scored by Liferay) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-08-20T11:35:14.494Z
- Modified: 2026-06-17T09:24:25.463Z
- Also known as: GHSA-3fp2-6mwq-4q3j
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Liferay

## Description

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.

(As written by CVE List.)

## Affected

- Liferay Portal: from 7.4.0 up to 7.4.3.132
- Liferay DXP: from 7.4.13 up to 7.4.13-u92; from 2024.Q1.1 up to 2024.Q1.14; from 2024.Q2.0 up to 2023.Q2.13; from 2024.Q3.1 up to 2024.Q3.13; from 2024.Q4.0 up to 2024.Q4.7; from 2025.Q1.0 up to 2025.Q1.3
- com.liferay:com.liferay.layout.type.controller.display.page (Maven): before 3.0.59
- liferay digital_experience_platform: from 2024.Q1.1 before 2024.Q1.15; from 2024.q2.0 up to 2024.q2.13; from 2024.q3.1 up to 2024.q3.13; from 2024.q4.0 up to 2024.q4.7; from 2025.Q1.0 before 2025.Q1.4; 7.4
- liferay liferay_portal: from 7.4.0 up to 7.4.3.132

## Every score

- Liferay: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43742> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-43742> (advisory)
- <https://github.com/liferay/liferay-portal/commit/9bd2ae22416d20f5e8ce2800ea96993c7df98f95> (web)
- <https://github.com/liferay/liferay-portal/commit/f2621572ca5abfe46bad0dca2fa4836deeefa000> (web)
- <https://github.com/liferay/liferay-portal> (package)
- <https://liferay.atlassian.net/browse/LPE-18192> (web)

## Sources

- CVE List: [CVE-2025-43742](https://www.cve.org/CVERecord?id=CVE-2025-43742), CVE Terms of Use, modified 2025-08-20
- GitHub Advisory Database: [GHSA-3fp2-6mwq-4q3j](https://github.com/advisories/GHSA-3fp2-6mwq-4q3j), CC-BY-4.0, modified 2025-12-20
- NVD: [CVE-2025-43742](https://nvd.nist.gov/vuln/detail/CVE-2025-43742), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-43742 · Whole record: https://cve.day/CVE-2025-43742.json · Rebuilt by cve.day 2026-11-25T22:59:03.399Z
