ADVISORIES

GitHub Advisory Database

GHSA-56jv-4ww3-65mw

Liferay Portal is vulnerable to XSS in the Blogs widget

Moderate CVE-2025-62265

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavencom.liferay.portal:release.portal.bom
From 7.4.0-ga1 before 7.4.3.112-ga112 (fixed in 7.4.3.112-ga112)

References