CVE-2024-25147Liferay Portal
Medium 6.1 No auth needed
Follow: this CVE · Liferay · Liferay Portal We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 53
- Auth required
- No
- Published
- Feb 21, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
Cross-site scripting (XSS) vulnerability in HtmlUtil.escapeJsLink in Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 15, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via crafted javascript: style links.
What to do
- Apply the vendor's security update for Liferay Portal.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.liferay.portal:release.dxp.bom |
≥ 7.3.0 < 7.3.10.u4 |
7.3.10.u4 |
— |
| Maven | com.liferay.portal:release.dxp.bom |
≥ 7.2.0 < 7.2.10.fp15 |
7.2.10.fp15 |
— |
| Maven | com.liferay.portal:release.portal.bom |
≤ 7.4.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xpjg-7hx7-wgcx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| liferay | liferay_portal | < 7.4.2 |
| liferay | digital_experience_platform | < 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.2 |
| liferay | digital_experience_platform | 7.3 |
| liferay | digital_experience_platform | 7.3 |
| liferay | digital_experience_platform | 7.3 |
| liferay | digital_experience_platform | 7.3 |
Official sources
References
Links published by the sources. Open them with care.
- liferay.dev Vendor Advisory