Low severityNVD Advisory· Published Oct 23, 2025· Updated Oct 23, 2025
CVE-2025-62255
CVE-2025-62255
Description
Self Cross-site scripting (XSS) vulnerability on the edit Knowledge Base article page in Liferay Portal 7.4.0 through 7.4.3.101, and older unsupported versions, and Liferay DXP 2023.Q3.1 through 2023.Q3.5, 7.4 GA through update 92, and older unsupported versions allows remote attackers to inject arbitrary web script or HTML via a crafted payload injected into an attachment's filename.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.liferay:com.liferay.knowledge.base.webMaven | < 5.0.109 | 5.0.109 |
Affected products
2- Liferay/DXPv5Range: 7.3.10
Patches
146dd9b77cc25LPS-198648 escape file value before using in the input.
1 file changed · +3 −1
modules/apps/knowledge-base/knowledge-base-web/src/main/resources/META-INF/resources/admin/js/EditKBArticle.js+3 −1 modified@@ -3,6 +3,8 @@ * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06 */ +import {escapeHTML} from 'frontend-js-web'; + function attachListener(element, eventType, callback) { element?.addEventListener(eventType, callback); @@ -93,7 +95,7 @@ export default function EditKBArticle({kbArticle, namespace, publishAction}) { `<input id="${namespace}selectedFileName${i}" name="${namespace}selectedFileName" type="hidden" - value="${filesChecked[i].value}" + value="${escapeHTML(filesChecked[i].value)}" />` ); }
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-gccf-r9xp-x8jxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-62255ghsaADVISORY
- github.com/liferay/liferay-portal/commit/46dd9b77cc2514761828d9b483a1dfe5d6e6b76dghsaWEB
- liferay.atlassian.net/browse/LPE-17842ghsaWEB
- liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-62255ghsaWEB
News mentions
0No linked articles in our index yet.