Liferay Portal Calendar module and Liferay DXP vulnerable to Cross-site Scripting, content spoofing
Date: 2024-02
Affected: maven/com.liferay.portal:release.portal.bom, maven/com.liferay.portal:release.dxp.bom, maven/com.liferay.portal:release.dxp.bom
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2024-25151
CWE: CWE-79
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N)

The Calendar module in Liferay Portal 7.2.0 through 7.4.2, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 15, and older unsupported versions does not escape user supplied data in the default notification email template, which allows remote authenticated users to inject arbitrary web script or HTML via the title of a calendar event or the user's name. This may lead to a content spoofing or cross-site scripting (XSS) attacks depending on the capability of the receiver's mail client.


Mitigations:

Architectural layers (MAESTRO):