CVE-2025-43733: Liferay Layout Taglib Vulnerable to Reflected Cross-Site Scripting

Summary

18/08/2025
Yes i
Low
Not published

CVE-2025-43733: Liferay Portal Vulnerable to Cross-Site Scripting. Affects com.liferay:com.liferay.layout.taglib versions < 17.0.0. Fixed in 17.0.0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Liferay is a popular open-source platform for building digital experiences. The 'com.liferay.layout.taglib' package is part of Liferay's tag library, which provides various functionalities for managing layouts in web applications. This package is widely used in Liferay Portal and Liferay DXP, making it crucial for developers to ensure its security and integrity.

Vulnerability Detail

A reflected cross-site scripting (XSS) vulnerability exists in Liferay Portal versions 7.4.3.132 and Liferay DXP versions 2025.Q1.0 through 2025.Q1.7. This vulnerability allows a remote authenticated attacker to inject malicious JavaScript code via the content page's name field. When users view the 'document View Usages' page, this injected code is executed in their browsers, potentially leading to unauthorized actions or data theft.

How To Fix

Minimum fixed version

17.0.0

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, ensure that user input is properly sanitized and validated before being reflected in the application. This can help mitigate the risk of XSS attacks until the package is updated.

Conclusion

The CVE-2025-43733 vulnerability in the Liferay layout tag library poses a significant security risk due to its potential for reflected cross-site scripting attacks. It is essential for users of affected versions to update to the patched version to mitigate this risk.

See every vulnerability recorded for com.liferay:com.liferay.layout.taglib →

Share this vulnerability

FAQ

CVE-2025-43733 is a vulnerability identifier for a reflected cross-site scripting issue found in specific versions of Liferay's layout tag library.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can use the Vulert playground at Vulert Scanner without signing up.

If exploited, this vulnerability can allow attackers to execute arbitrary JavaScript in the context of a user's browser, potentially leading to data theft or unauthorized actions.

Update the 'com.liferay.layout.taglib' package to version 17.0.0 or later by modifying your pom.xml file as shown in the 'how_to_fix' section.

A reflected XSS vulnerability occurs when an attacker is able to inject malicious scripts into a web application, which are then reflected back to users without proper validation or sanitization.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay:com.liferay.layout.taglib.

How To Fix

Minimum fixed version

17.0.0

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