CVE-2025-62265: Liferay Portal is vulnerable to XSS in the Blogs widget
CVE-2025-62265 · Severity: medium · CVSS 5.4 · Published 2025-10-30
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.
Yes. com.liferay.portal:release.portal.bom (Maven): upgrade to 7.4.3.112-ga112 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-62265?
Check whether you run Liferay Digital Experience Platform, Liferay Portal or com.liferay.portal:release.portal.bom (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
com.liferay.portal:release.portal.bom (Maven): upgrade to 7.4.3.112-ga112 or later
# set com.liferay.portal:release.portal.bom to 7.4.3.112-ga112 in your pom.xml or build.gradle