GHSA-cpg4-qcj8-42gp — com.liferay.portal.workfl…
Fix: liferay/liferay-portal@a540e05GHSA-cpg4-qcj8-42gp is a Cross-site Scripting (XSS) vulnerability in com.liferay:com.liferay.portal.workflow.kaleo.forms.web. A fix is available for com.liferay:com.liferay.portal.workflow.kaleo.forms.web — see the affected versions and patch details below.
Liferay Portal is vulnerable to XSS attack through fieldset name in Kaleo Forms Admin
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-cpg4-qcj8-42gp.
EPSS Exploitation Probability
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.
Real-World Exposure
com.liferay:com.liferay.portal.workflow.kaleo.forms.webReal-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
A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.132, and Liferay DXP 2025.Q2.0 through 2025.Q2.11, 2025.Q1.0 through 2025.Q1.16, 2024.Q4.0 through 2024.Q4.7, 2024.Q3.0 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13 and 2024.Q1.1 through 2024.Q1.20 allows an remote authenticated attacker to inject JavaScript through the name of a fieldset in Kaleo Forms Admin. The malicious payload is stored and executed without proper sanitization or escaping.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.portal.workflow.kaleo.forms.web | ≥ 5.0.3&&< 5.0.107 | 5.0.107com.liferay:com.liferay.portal.workflow.kaleo.forms.web:5.0.107 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay:com.liferay.portal.workflow.kaleo.forms.web, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.portal.workflow.kaleo.forms.web to 5.0.107 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cpg4-qcj8-42gp is resolved across your whole dependency graph.
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.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-cpg4-qcj8-42gp can be triaged on real exposure rather than presence alone.
Tailored to GHSA-cpg4-qcj8-42gp. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is GHSA-cpg4-qcj8-42gp in your dependencies?
O3 Security finds GHSA-cpg4-qcj8-42gp across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.