CVE-2025-62240: XSS Vulnerability in com.liferay.calendar.web Package

Summary

09/10/2025
Yes i
Moderate
4.8

CVE-2025-62240: Liferay Portal is vulnerable to XSS through its Calendar Events parameters. Affects com.liferay:com.liferay.calendar.web versions >= 5.0.45, < 5.0.88. Fixed in 5.0.88. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The com.liferay.calendar.web package is a component of the Liferay Portal, which is a popular open-source platform for building web applications and managing content. This package specifically handles calendar functionalities, allowing users to create and manage events. However, it has been found to be vulnerable to multiple cross-site scripting (XSS) attacks, which can compromise the security of applications built on this platform.

Vulnerability Detail

The vulnerability arises from improper handling of user input in the Calendar events feature of Liferay Portal versions 7.4.3.35 to 7.4.3.111 and Liferay DXP versions 2023.Q4.0 to 2023.Q4.5, among others. Attackers can exploit this vulnerability by injecting malicious scripts through user fields such as First Name, Middle Name, or Last Name. If successful, this could lead to unauthorized actions being performed on behalf of the user, data theft, or session hijacking.

How To Fix

Latest published version: 5.0.110 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

5.0.88

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, consider sanitizing user inputs to prevent XSS attacks. This can be done by implementing input validation and encoding output before rendering it in the browser. For example, you can use libraries like OWASP Java Encoder to encode user inputs before displaying them.

Conclusion

The CVE-2025-62240 vulnerability in the com.liferay.calendar.web package poses a significant risk due to its potential for XSS attacks. It is crucial for users of affected Liferay versions to apply the necessary updates or implement workarounds to safeguard their applications.

See every vulnerability recorded for com.liferay:com.liferay.calendar.web →

Share this vulnerability

FAQ

CVE-2025-62240 is a vulnerability identifier for a cross-site scripting (XSS) issue found in the com.liferay.calendar.web package of Liferay Portal.

The affected versions include Liferay Portal 7.4.3.35 through 7.4.3.111 and Liferay DXP 2023.Q4.0 through 2023.Q4.5, among others.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your pom.xml file to the Vulert playground, you can check for vulnerabilities without any signup.

If exploited, this vulnerability can allow attackers to execute arbitrary scripts in the context of the user's session, leading to data theft, unauthorized actions, or session hijacking.

Yes, the permanent fix is to update the com.liferay.calendar.web package to version 5.0.88 or later.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay:com.liferay.calendar.web.

How To Fix

Latest published version: 5.0.110 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

5.0.88

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