CVE-2024-25152
Java vulnerability analysis and mitigation

Overview

CVE-2024-25152 is a stored cross-site scripting (XSS) vulnerability discovered in the Message Board widget of Liferay Portal and Liferay DXP. The vulnerability affects Liferay Portal versions 7.2.0 through 7.4.2 and older unsupported versions, as well as Liferay DXP 7.3 before service pack 3 and 7.2 before fix pack 17. The vulnerability was published on February 20, 2024 (CVE Details, NVD).

Technical details

The vulnerability allows remote authenticated users to inject arbitrary web script or HTML through the filename of an attachment in the Message Board widget. The severity of this vulnerability has been assessed with different CVSS v3.1 scores: NIST rates it as MEDIUM (5.4) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, while Liferay Inc. rates it as CRITICAL (9.0) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H (NVD, Liferay Advisory).

Impact

The vulnerability can potentially allow attackers to execute arbitrary web scripts or HTML in the context of other users' browsers who view the malicious attachment filename. This could lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the affected users' sessions (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Liferay Portal version 7.4.3.4, Liferay DXP 7.3 service pack 3, and Liferay DXP 7.2 fix pack 17. Users are advised to upgrade to these or later versions to mitigate the vulnerability (Liferay Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management