VYPR
Moderate severityNVD Advisory· Published Aug 23, 2025· Updated Aug 25, 2025

CVE-2025-43765

CVE-2025-43765

Description

A Stored cross-site scripting vulnerability in the Liferay Portal 7.4.0 through 7.4.3.131, and Liferay DXP 2024.Q4.0, 2024.Q3.1 through 2024.Q3.13, 2024.Q2.0 through 2024.Q2.13, 2024.Q1.1 through 2024.Q1.13 and 7.4 GA through update 92 allows an remote non-authenticated attacker to inject JavaScript into the text field from a web content.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
com.liferay:com.liferay.journal.serviceMaven
< 7.0.1617.0.161

Affected products

2

Patches

1
6aa0adb0e8d4

LPD-43080 Escape field

https://github.com/liferay/liferay-portalRoberto DíazNov 28, 2024via ghsa
1 file changed · +4 0
  • modules/apps/journal/journal-service/src/main/java/com/liferay/journal/internal/transformer/JournalTransformer.java+4 0 modified
    @@ -61,6 +61,7 @@
     import com.liferay.portal.kernel.theme.ThemeDisplay;
     import com.liferay.portal.kernel.util.Constants;
     import com.liferay.portal.kernel.util.GetterUtil;
    +import com.liferay.portal.kernel.util.HtmlUtil;
     import com.liferay.portal.kernel.util.JavaConstants;
     import com.liferay.portal.kernel.util.ListUtil;
     import com.liferay.portal.kernel.util.LocaleUtil;
    @@ -500,6 +501,9 @@ else if (type.equals(DDMFormFieldTypeConstants.SELECT) &&
     				data = JSONUtil.toString(dataJSONArray);
     			}
     		}
    +		else if (type.equals(DDMFormFieldTypeConstants.TEXT)) {
    +			data = HtmlUtil.escape(data);
    +		}
     
     		if (dynamicContentElement != null) {
     			for (Attribute attribute : dynamicContentElement.attributes()) {
    

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.