Liferay Portal is vulnerable to XSS in the Blogs widget
Date: 2025-10
Affected: maven/com.liferay.portal:release.portal.bom
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2025-62265
CWE: CWE-79

Cross-site scripting (XSS) vulnerability in the Blogs widget in Liferay Portal 7.4.0 through 7.4.3.111, and older unsupported versions, and Liferay DXP 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.8, 7.4 GA through update 92, 7.3 GA through update 36, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via a crafted <iframe> injected into a blog entry's “Content” text field. The Blogs widget in Liferay DXP does not add the sandbox attribute to <iframe> elements, which allows remote attackers to access the parent page via scripts and links in the frame page.


Mitigations:

Architectural layers (MAESTRO):