Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven

GHSA-hrc4-p2h3-pjqw

Liferay Portal and Liferay DXP Vulnerable to Cross-Site Scripting (XSS)

Also known asCVE-2025-2536
Published
Mar 19, 2025
Updated
Mar 20, 2025
Affected
6 pkgs
Patched
5 / 6
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk19th percentile+0.09%
0.00%0.26%0.52%0.78%0.3%0.3%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

6 pkgs affected
com.liferay.portal:release.dxp.bomcom.liferay.portal:release.portal.bomcom.liferay.portal:release.dxp.bomcom.liferay.portal:release.dxp.bomcom.liferay.portal:release.dxp.bomcom.liferay.portal:release.dxp.bom

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

Cross-site scripting (XSS) vulnerability on Liferay Portal 7.4.3.82 through 7.4.3.128, and Liferay DXP 2024.Q3.0, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 82 through update 92 in the Frontend JS module's layout-taglib/liferay/index.js allows remote attackers to inject arbitrary web script or HTML via toastData parameter

Affected Packages

6 total 5 fixed
EcosystemPackageVulnerable rangeFix
Mavencom.liferay.portal:release.dxp.bom2024.Q2.0No fix
Mavencom.liferay.portal:release.portal.bom7.4.3.82&&< 7.4.3.1297.4.3.129
Mavencom.liferay.portal:release.dxp.bom2024.Q1.1&&< 2024.Q1.132024.Q1.13
Mavencom.liferay.portal:release.dxp.bom2023.Q4.0&&< 2024.Q4.02024.Q4.0
Mavencom.liferay.portal:release.dxp.bom2023.Q3.1&&< 2024.Q4.02024.Q4.0
Mavencom.liferay.portal:release.dxp.bom2024.Q3.0&&< 2024.Q3.12024.Q3.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay.portal:release.dxp.bom. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    No patched version of com.liferay.portal:release.dxp.bom has shipped for GHSA-hrc4-p2h3-pjqw yet. Where your build allows, override or pin the dependency away from the vulnerable range, and apply any maintainer-recommended mitigation.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-hrc4-p2h3-pjqw is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-hrc4-p2h3-pjqw. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

Cross-site scripting (XSS) vulnerability on Liferay Portal 7.4.3.82 through 7.4.3.128, and Liferay DXP 2024.Q3.0, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.12, 2023.Q4.0 through 2023.Q4.10, 2023.Q3.1 through 2023.Q3.10, 7.4 update 82 through update 92 in the Frontend JS module's layout-taglib/__liferay__/index.js allows remote attackers to inject arbitrary web script or HTML via toastData parameter
O3 Security · Impact-Aware SCA

Is GHSA-hrc4-p2h3-pjqw in your dependencies?

O3 detects GHSA-hrc4-p2h3-pjqw across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.