CVE-2025-43731: Liferay Portal Vulnerable to Reflected Cross-Site Scripting

Summary

18/08/2025
No i
Moderate
Not published

CVE-2025-43731: Liferay Portal Vulnerable to Cross-Site Scripting. Affects com.liferay.portal:release.portal.bom versions >= 7.4.0-ga1, <= 7.4.3.132-ga132. No fix is published. 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

Liferay Portal is a popular open-source platform used for building web applications and portals. It offers features such as content management, collaboration tools, and user management. The affected version, ranging from 7.4.0 to 7.4.3.132, is widely utilized in enterprise environments, making it crucial to address vulnerabilities that could compromise user security.

Vulnerability Detail

A reflected cross-site scripting (XSS) vulnerability exists in Liferay Portal versions 7.4.0 through 7.4.3.132. This vulnerability allows remote authenticated users to inject malicious JavaScript into message board threads and categories. The issue arises from improper validation of user input, which can lead to unauthorized script execution in the context of other users' browsers, potentially exposing sensitive information or allowing further attacks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, ensure that user input is properly sanitized and validated before being displayed in message boards. Implement Content Security Policy (CSP) headers to mitigate the risk of XSS attacks.

Conclusion

The reflected XSS vulnerability in Liferay Portal versions 7.4.0 to 7.4.3.132 poses a significant risk to users. It is essential to apply the recommended updates or implement workarounds to safeguard against potential attacks. Regular monitoring and vulnerability assessments using tools like Vulert can help maintain application security.

See every vulnerability recorded for com.liferay.portal:release.portal.bom →

Share this vulnerability

FAQ

CVE-2025-43731 is a vulnerability in Liferay Portal that allows reflected cross-site scripting (XSS) attacks, enabling remote authenticated users to inject malicious scripts.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing the pom.xml file. Visit the Vulert playground at Vulert Scanner to check for vulnerabilities without signup.

The vulnerability can lead to unauthorized script execution in users' browsers, potentially compromising sensitive data and allowing attackers to perform actions on behalf of users.

Yes, a patch is available. Users should upgrade to Liferay Portal version 7.4.3.133 or later to mitigate the vulnerability.

If immediate updates are not possible, implement input validation and sanitization, and consider using Content Security Policy (CSP) headers as a temporary measure to reduce risk.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay.portal:release.portal.bom.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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