Moderate severityNVD Advisory· Published Aug 8, 2025· Updated Aug 8, 2025
CVE-2025-4576
CVE-2025-4576
Description
A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.133, and Liferay DXP 2025.Q1.0 through 2025.Q1.4 ,2024.Q4.0 through 2024.Q4.7, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.15, 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the modules/apps/blogs/blogs-web/src/main/resources/META-INF/resources/blogs/entry_cover_image_caption.jsp
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.blogs.webMaven | < 6.0.139 | 6.0.139 |
Affected products
2- Liferay/DXPv5Range: 7.4.13
Patches
1afd9e7751fffLPD-50960 escape
1 file changed · +1 −1
modules/apps/blogs/blogs-web/src/main/resources/META-INF/resources/blogs/entry_cover_image_caption.jsp+1 −1 modified@@ -19,7 +19,7 @@ String viewEntryURL = ParamUtil.getString(request, "viewEntryURL"); </c:if> <liferay-ui:csp> - <div <c:if test="<%= Validator.isNotNull(coverImageCaption) %>">aria-label="<%= HtmlUtil.escapeAttribute(HtmlUtil.stripHtml(coverImageCaption)) %>" role="img"</c:if> class="aspect-ratio aspect-ratio-8-to-3 aspect-ratio-bg-cover cover-image" style="background-image: url(<%= coverImageURL %>);"></div> + <div <c:if test="<%= Validator.isNotNull(coverImageCaption) %>">aria-label="<%= HtmlUtil.escapeAttribute(HtmlUtil.stripHtml(coverImageCaption)) %>" role="img"</c:if> class="aspect-ratio aspect-ratio-8-to-3 aspect-ratio-bg-cover cover-image" style="background-image: url(<%= HtmlUtil.escapeAttribute(coverImageURL) %>);"></div> </liferay-ui:csp> <c:if test="<%= Validator.isNotNull(viewEntryURL) %>">
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-6qcg-28jh-hm7rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-4576ghsaADVISORY
- github.com/liferay/liferay-portal/commit/afd9e7751fff6f573699ef1169da279957f72428ghsaWEB
- liferay.atlassian.net/browse/LPE-18194ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-4576ghsaWEB
News mentions
0No linked articles in our index yet.