MEDIUM5.3
GHSA-x5fw-8xgx-q6c9
Liferay Portal is vulnerable to XSS attack through its search bar portlet
Quick fix
GHSA-x5fw-8xgx-q6c9 — com.liferay:com.liferay.portal.search.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>6.0.143</version> for com.liferay:com.liferay.portal.search.webDetails
A reflected cross-site scripting (XSS) vulnerability in Liferay Portal 7.4.3.110 through 7.4.3.128, and Liferay DXP 2024.Q3.1 through 2024.Q3.8, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.12 allows remote attackers to inject arbitrary web script or HTML via the URL in search bar portlet
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay:com.liferay.portal.search.web
Introduced in:
6.0.125Fixed in: 6.0.143Fix
# pom.xml: bump <version>6.0.143</version> for com.liferay:com.liferay.portal.search.webReferences
- https://nvd.nist.gov/vuln/detail/CVE-2025-43781[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/f6483b5cff5c07b562c52f9eec336b2ebc9eeacd[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.atlassian.net/browse/LPE-18124[WEB]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43781[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay/com.liferay.portal.search.web"]}'