CVE-2024-25147CWE-79

Cross-site scripting (XSS) vulnerability in HtmlUtil.escapeJsLink in Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3…

Critical · published February 21, 2024

CVSS v3.1
9.6
EPSS
1%
Percentile
45.6
In the wild
Unconfirmed
What it is

🚨 A sneaky XSS vulnerability in Liferay Portal could allow attackers to inject malicious scripts via crafted links — think of it as an uninvited guest slipping a nasty note into your mailbox! 🔥 Imagine your mailbox isn’t just for letters, but also for sneaky deliveries that can change what's inside — this vulnerability lets attackers place harmful scripts right where they can do the most damage, like a package that explodes when you open it! If exploited, attackers could run arbitrary scripts in the context of a user’s browser. This could lead to devastating consequences such as stealing sensitive information, hijacking user sessions, or redirecting users to malicious sites — leaving your users vulnerable and your reputation in tatters!

Put simply

Imagine your mailbox isn’t just for letters, but also for sneaky deliveries that can change what's inside — this vulnerability lets attackers place harmful scripts right where they can do the most damage, like a package that explodes when you open it! This XSS vulnerability in HtmlUtil.escapeJsLink allows remote attackers to inject arbitrary web scripts or HTML through specially crafted 'javascript:' style links. It affects Liferay Portal versions 7.2.0 to 7.4.1 and Liferay DXP 7.3 before service pack 3, among other unsupported versions.

What to do

If exploited, attackers could run arbitrary scripts in the context of a user’s browser. This could lead to devastating consequences such as stealing sensitive information, hijacking user sessions, or redirecting users to malicious sites — leaving your users vulnerable and your reputation in tatters! Immediately patch to Liferay Portal version 7.4.2 or DXP version 7.3 SP3. Review and sanitize all user inputs and implement Content Security Policy (CSP) to mitigate risks. Regularly audit your applications to ensure no weak links remain! You've got this! By taking these steps, you’ll secure your environment and keep those pesky intruders at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00555 · 45.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-02-21T01:16Z
EPSS history
Timeline
  • 21 FEB 01:16Z
    Cross-site scripting (XSS) vulnerability in HtmlUtil.escapeJsLink in Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3…
    cvelistv5