VDB
Sign up
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.web

Details

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.143
Fix# pom.xml: bump <version>6.0.143</version> for com.liferay:com.liferay.portal.search.web

References

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"]}'