VYPR
Moderate severityNVD Advisory· Published Aug 12, 2025· Updated Aug 12, 2025

CVE-2025-43735

CVE-2025-43735

Description

A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 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.12 and 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the google_gadget.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
com.liferay.portal:release.portal.bomMaven
>= 7.4.0, < 7.4.3.1327.4.3.132
com.liferay.portal:release.dxp.bomMaven
>= 2024.q4.0, <= 2024.q4.7
com.liferay.portal:release.dxp.bomMaven
>= 2024.q3.0, <= 2024.q3.13
com.liferay.portal:release.dxp.bomMaven
>= 2024.q2.0, <= 2024.q2.13
com.liferay.portal:release.dxp.bomMaven
>= 2024.q1.0, < 2024.q1.132024.q1.13
com.liferay.portal:release.dxp.bomMaven
<= 7.4.13.u92
com.liferay.portal:com.liferay.portal.implMaven
>= 7.0.4, < 109.1.0109.1.0

Affected products

2

Patches

1
64d19e457ffc

LPD-45409 escape user input

1 file changed · +2 1
  • portal-impl/src/com/liferay/portal/servlet/GoogleGadgetServlet.java+2 1 modified
    @@ -14,6 +14,7 @@
     import com.liferay.portal.kernel.servlet.ServletResponseUtil;
     import com.liferay.portal.kernel.util.ContentTypes;
     import com.liferay.portal.kernel.util.GetterUtil;
    +import com.liferay.portal.kernel.util.HtmlUtil;
     import com.liferay.portal.kernel.util.Portal;
     import com.liferay.portal.kernel.util.PortalUtil;
     import com.liferay.portal.kernel.util.Validator;
    @@ -104,7 +105,7 @@ protected String getContent(HttpServletRequest httpServletRequest)
     		sb.append("<Content type=\"html\">");
     		sb.append("<![CDATA[");
     		sb.append("<iframe frameborder=\"0\" height=\"100%\" src=\"");
    -		sb.append(widgetURL);
    +		sb.append(HtmlUtil.escape(widgetURL));
     		sb.append("\" width=\"100%\">");
     		sb.append("</iframe>");
     		sb.append("]]>");
    

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

News mentions

0

No linked articles in our index yet.