CVE-2025-62255: Self Cross-site Scripting (XSS) Vulnerability in com.liferay.knowledge.base.web Package

Summary

23/10/2025
Yes i
Low
2.0

CVE-2025-62255: Liferay Portal Self Cross-site scripting (XSS) vulnerability on the edit Knowledge Base article page. Affects com.liferay:com.liferay.knowledge.base.web versions < 5.0.109. Fixed in 5.0.109. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The com.liferay.knowledge.base.web package is part of the Liferay Portal, a popular open-source platform for building web applications and managing content. This package specifically handles the Knowledge Base functionality, allowing users to create, edit, and manage articles. The vulnerability in question affects versions of this package from 7.4.0 to 7.4.3.101, as well as older unsupported versions, making it crucial for users to be aware of potential security risks.

Vulnerability Detail

The vulnerability is a Self Cross-site Scripting (XSS) issue that occurs on the edit Knowledge Base article page. It allows remote attackers to inject arbitrary web scripts or HTML into the application via a crafted payload in an attachment's filename. This can lead to unauthorized actions being performed on behalf of the user, potentially compromising sensitive information and the integrity of the application.

How To Fix

Minimum fixed version

5.0.109

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can sanitize attachment filenames to prevent the injection of malicious scripts. This can be done by implementing a validation check that restricts special characters in filenames before they are processed by the application.

Conclusion

The CVE-2025-62255 vulnerability presents a significant risk to users of the com.liferay.knowledge.base.web package. It is essential for users to update to the patched version to mitigate potential security threats. Additionally, implementing workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for com.liferay:com.liferay.knowledge.base.web →

Share this vulnerability

FAQ

CVE-2025-62255 is a vulnerability in the com.liferay.knowledge.base.web package that allows for Self Cross-site Scripting (XSS) attacks.

The vulnerability affects Liferay Portal versions 7.4.0 through 7.4.3.101 and older unsupported versions, as well as Liferay DXP 2023.Q3.1 through 2023.Q3.5.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply checking your pom.xml file on the Vulert playground, you can determine if your application is affected by this vulnerability.

The risks include unauthorized access to user accounts, data theft, and the potential for attackers to execute malicious scripts within the application.

Yes, a patch is available in version 5.0.109 of the com.liferay.knowledge.base.web package. Users are advised to update to this version or later.

How To Fix

Minimum fixed version

5.0.109

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback