CVE-2025-43774 — com.liferay.frontend.tagl…
Fix: liferay/liferay-portal@e15df92CVE-2025-43774 is a security vulnerability in com.liferay:com.liferay.frontend.taglib.clay. A fix is available for com.liferay:com.liferay.frontend.taglib.clay — see the affected versions and patch details below.
Liferay Portal is vulnerable to XSS attack through its Style Book theme
Real-World Exposure
com.liferay:com.liferay.frontend.taglib.clayReal-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
Rejected reason: This CVE ID is rejected. The reported vulnerability was found to be present only in a feature that was under development and protected by a beta feature flag. As a result, the issue was not exploitable in the official or public releases within the specified affected ranges, making this a false positive for officially released versions.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.frontend.taglib.clay | all versions | 15.2.1com.liferay:com.liferay.frontend.taglib.clay:15.2.1 |
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.frontend.taglib.clay, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.frontend.taglib.clay to 15.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-43774 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2025-43774 in your dependencies?
Find it across Maven, including transitive dependencies.