CVE-2025-43756: Release.portal.bom Cross-Site Scripting Vulnerability
MODERATECVE-2025-43756 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Release.portal.bom libraries in the Maven ecosystem. The issue involves liferay portal reflected cross-site scripting vulnerability via snippet parameter. Remediation is available in the latest vendor maintenance releases.
CVE-2025-43756 at a Glance
How to Fix CVE-2025-43756
To remediate this vulnerability, upgrade all affected Release.portal.bom dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.liferay.portal</groupId>
<artifactId>release.portal.bom</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.liferay.portal
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-43756, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.liferay.portal
Analyze the terminal output to locate any version of Release.portal.bom in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.liferay.portal command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Release.portal.bom, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-43756 Affected Release.portal.bom Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.liferay.portal:release.portal.bom
|
Maven |
7.4.3.132-ga132
All 1 versions
7.4.3.132-ga132
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-43756?
Which Release.portal.bom versions are affected?
What version fixes CVE-2025-43756?
Is release.portal.bom affected?
What CWE is associated with CVE-2025-43756?
How can I check Maven dependencies for CVE-2025-43756?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q2gv-w583-f2vq",
"modified" : "2025-08-22T16:53:50Z",
"published" : "2025-08-21T18:31:28Z",
"aliases" : [ "CVE-2025-43756" ],
"summary" : "Liferay Portal Reflected Cross-Site Scripting Vulnerability via snippet Parameter",
"details" : "A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.15, 2025.Q2.0 through 2025.Q2.2 and 2024.Q1.13 through 2024.Q1.19 allows a remote authenticated user to inject JavaScript code via snippet parameter.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.liferay.portal:release.portal.bom"
},
"versions" : [ "7.4.3.132-ga132" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43756"
}, {
"type" : "WEB",
"url" : "https://github.com/liferay/liferay-portal/commit/6228bb1142e748342d3f170bf104f458ff59ddb2"
}, {
"type" : "WEB",
"url" : "https://github.com/liferay/liferay-portal/commit/af4fc9238782c9f2f977d6b9d090ab7b9424dace"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/liferay/liferay-portal"
}, {
"type" : "WEB",
"url" : "https://liferay.atlassian.net/browse/LPE-18266"
}, {
"type" : "WEB",
"url" : "https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-43756"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-08-22T16:53:50Z",
"nvd_published_at" : "2025-08-21T17:15:30Z"
}
}