CVE-2023-40191 — Vulnerability in release.portal.bom — CVE Details
Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.80%). Schedule for your next planned update.
Does your project use an affected com.liferay.portal:release.portal.bom version?
Paste your pom.xml to check it for CVE-2023-40191 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Reflected cross-site scripting (XSS) vulnerability in the instance settings for Accounts in Liferay Portal 7.4.3.44 through 7.4.3.97, and Liferay DXP 2023.Q3 before patch 6, and 7.4 update 44 through 92 allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into the “Blocked Email Domains” text field
Advisory Timeline
- First published February 21, 2024 (1009 days ago).
- Last revised January 28, 2025 — 343 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 7.4.3.98 for com.liferay.portal:release.portal.bom -->
<!-- Update pom.xml dependency version to 2023.Q3.6 for com.liferay.portal:release.dxp.bom -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| com.liferay.portal:release.portal.bom Maven · Affected: 7.4.3.44, 7.4.3.45, 7.4.3.46, 7.4.3.47 (+54 more) | 7.4.3.98 |
| com.liferay.portal:release.dxp.bom Maven · Affected: 2023.q3.1, 2023.q3.2, 2023.q3.3, 2023.q3.4 (+1 more) | 2023.Q3.6 |
| com.liferay.portal:release.dxp.bom Maven · Affected: 7.4.13.u44, 7.4.13.u45, 7.4.13.u46, 7.4.13.u47 (+45 more) | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-40191?
- Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
- How do I check if my project is affected by CVE-2023-40191?
- CVE-2023-40191 affects com.liferay.portal:release.portal.bom and com.liferay.portal:release.dxp.bom. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-40191 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 53.2% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-38002CRITICAL
Liferay Portal and Liferay DXP Workflow Component Does Not Check User Permissions
- CVE-2024-25603CRITICAL
Liferay Portal's Dynamic Data Mapping module's DDMForm and Liferay DXP vulnerable to stored Cross-site Scripting
- CVE-2023-42496CRITICAL
Liferay Portal and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2023-42498CRITICAL
Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25145CRITICAL
Liferay Portal stored cross-site scripting (XSS) vulnerability
- CVE-2024-8980CRITICAL
Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2024-25601CRITICAL
Liferay Portal Expando module and Liferay DXP vulnerable to stored Cross-site Scripting
- CVE-2024-26271HIGH
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget