# CVE-2021-33339: Liferay Portal Fragment Module and Liferay DXP Vulnerable to Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A: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.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2021-08-04T12:48:21.000Z
- Modified: 2026-06-17T03:54:28.770Z
- Also known as: GHSA-7pxh-q6jw-6xj8
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Cross-site scripting (XSS) vulnerability in the Fragment module in Liferay Portal 7.2.1 through 7.3.4, and Liferay DXP 7.2 before fix pack 9 allows remote attackers to inject arbitrary web script or HTML via the _com_liferay_site_admin_web_portlet_SiteAdminPortlet_name parameter.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.liferay.portal:release.portal.bom (Maven): from 7.2.1 before 7.3.5
- com.liferay.portal:release.dxp.bom (Maven): from 7.2.0 before 7.2.10.fp9
- liferay digital_experience_platform: 7.2
- liferay liferay_portal: from 7.2.1 before 7.3.5

## Every score

- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/id/120747934> (release-notes, vendor-advisory, web)
- <https://issues.liferay.com/browse/LPE-17102> (patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-33339> (advisory)
- <https://github.com/liferay/liferay-portal> (package)

## Sources

- CVE List: [CVE-2021-33339](https://www.cve.org/CVERecord?id=CVE-2021-33339), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7pxh-q6jw-6xj8](https://github.com/advisories/GHSA-7pxh-q6jw-6xj8), CC-BY-4.0, modified 2025-05-28
- NVD: [CVE-2021-33339](https://nvd.nist.gov/vuln/detail/CVE-2021-33339), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-33339 · Whole record: https://cve.day/CVE-2021-33339.json · Rebuilt by cve.day 2026-11-25T22:58:02.982Z
