Liferay Portal Vulnerable to Persistent Cross-Site Scripting (XSS) in MyAccountPortlet
In LifeRay Portal CE 7.1.0 through 7.2.1, the First Name, Middle Name, and Last Name fields for user accounts in MyAccountPortlet are all vulnerable to a persistent XSS issue. Any user can modify these fields with a particular XSS payload, and it will be stored in the database. The payload will then be rendered when a user utilizes the search feature to search for other users (i.e., if a user with modified fields occurs in the search results).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:release.portal.bom | >= 7.1.0, < 7.3.0 | 7.3.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-7934
- https://github.com/3ndG4me/liferay-xss-7.2.1GA2-poc-report-CVE-2020-7934
- https://github.com/liferay/liferay-portal
- https://web.archive.org/web/20200808034429/https://semanticbits.com/liferay-portal-authenticated-xss-disclosure
- http://packetstormsecurity.com/files/160168/LifeRay-7.2.1-GA2-Cross-Site-Scripting.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:release.portal.bom- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-f99h-h678-fgg4 - CC BY 4.0
Vulnerability history: com.liferay.portal:release.portal.bom
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 159
- First → latest
- 05.2021 10.2025
- Without a fix
- 33
- Exploited in attacks
- 0
Severity breakdown
- Critical 18
- High 25
- Medium 115
- Low 1
Disclosures per year
- 2021: 1
- 2022: 57
- 2023: 18
- 2024: 40
- 2025: 43
- 2026: 0
-
Liferay Portal Vulnerable to Persistent Cross-Site Scripting (XSS) in MyAccountPortlet this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.