CVE-2024-25147: XSS

Published Feb 21, 2024
·
Updated

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 before service pack 3, 7.2 before fix pack 15, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via crafted javascript: style links.

Affected Software

29 affected componentsFixes available
maven/com.liferay.portal:release.dxp.bom>=7.2.0<7.2.10.fp15
7.2.10.fp15
maven/com.liferay.portal:release.dxp.bom>=7.3.0<7.3.10.u4
7.3.10.u4
maven/com.liferay.portal:release.portal.bom<=7.4.1
Liferay Liferay Portal<7.4.2
Liferay Digital Experience Platform<7.2
Liferay Digital Experience Platform=7.2
Liferay Digital Experience Platform=7.2-fix_pack_1
Liferay Digital Experience Platform=7.2-fix_pack_10
Liferay Digital Experience Platform=7.2-fix_pack_11
Liferay Digital Experience Platform=7.2-fix_pack_12
Liferay Digital Experience Platform=7.2-fix_pack_13
Liferay Digital Experience Platform=7.2-fix_pack_14
Liferay Digital Experience Platform=7.2-fix_pack_2
Liferay Digital Experience Platform=7.2-fix_pack_3
Liferay Digital Experience Platform=7.2-fix_pack_4
Liferay Digital Experience Platform=7.2-fix_pack_5
Liferay Digital Experience Platform=7.2-fix_pack_6
Liferay Digital Experience Platform=7.2-fix_pack_7
Liferay Digital Experience Platform=7.2-fix_pack_8
Liferay Digital Experience Platform=7.2-fix_pack_9
Liferay Digital Experience Platform=7.2-service_pack_1
Liferay Digital Experience Platform=7.2-service_pack_2
Liferay Digital Experience Platform=7.2-service_pack_3
Liferay Digital Experience Platform=7.2-service_pack_4
Liferay Digital Experience Platform=7.2-service_pack_5
Liferay Digital Experience Platform=7.3
Liferay Digital Experience Platform=7.3-fix_pack_1
Liferay Digital Experience Platform=7.3-fix_pack_2
Liferay Digital Experience Platform=7.3-service_pack_1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.2.10.fp15
  2. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.3.10.u4
  3. Upgrade

    Upgrade Liferay Portal to a version that resolves this vulnerability.

    Fixed in 7.4.1
  4. Upgrade

    Upgrade Liferay DXP 7.3 to a version that resolves this vulnerability.

    Patch service pack 3
  5. Upgrade

    Upgrade Liferay Portal 7.2 to a version that resolves this vulnerability.

    Patch fix pack 15

Event History

Feb 21, 2024
CVE Published
via MITRE·01:16 AM
Data Sourced
via MITRE·01:16 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 AM
Affected Software
Advisory Published
via GitHub·03:30 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-25147?

CVE-2024-25147 is classified as a medium severity Cross-site scripting (XSS) vulnerability that allows remote attackers to inject malicious scripts.

2

How do I fix CVE-2024-25147?

To mitigate CVE-2024-25147, upgrade to Liferay Portal version 7.2.10.fp15 or 7.3.10.u4, or to any version of Liferay Portal after 7.4.1.

3

Which Liferay versions are affected by CVE-2024-25147?

CVE-2024-25147 affects Liferay Portal versions 7.2.0 through 7.4.1, and older unsupported versions, as well as Liferay DXP 7.3 before service pack 3.

4

Can CVE-2024-25147 be exploited by any remote attacker?

Yes, CVE-2024-25147 can be exploited by remote attackers who can craft and inject arbitrary web scripts or HTML.

5

Is there any workaround for CVE-2024-25147 before applying the fix?

There are no known effective workarounds for CVE-2024-25147 other than upgrading to a patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203