CVE-2022-42116: Liferay Frontend Editor CKEditor Web Vulnerable to XSS

Summary

19/10/2022
Yes i
Moderate
6.1

CVE-2022-42116: A Cross-site scripting (XSS) vulnerability in the Frontend Editor module's integration with CKEditor in Liferay Frontend Editor CKEditor Web before 5.0.46 from Liferay Portal (7.3.2 through 7.4.3.14), and Liferay DXP 7.3... Affects com.liferay:com.liferay.frontend.editor.ckeditor.web versions < 5.0.46. Fixed in 5.0.46. 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 Liferay Frontend Editor CKEditor Web is a component of the Liferay Portal that integrates CKEditor, a popular rich text editor, allowing users to create and edit content easily. This package is widely used in Liferay applications to enhance user experience with rich text editing capabilities. However, it has been found to be vulnerable to a Cross-site Scripting (XSS) attack, which can compromise the security of applications using this package.

Vulnerability Detail

A Cross-site scripting (XSS) vulnerability exists in the integration of the Frontend Editor module with CKEditor in Liferay Frontend Editor CKEditor Web versions prior to 5.0.46. This vulnerability affects Liferay Portal versions 7.3.2 through 7.4.3.14, and Liferay DXP 7.3 before update 6, and 7.4 before update 15. Attackers can exploit this vulnerability by injecting arbitrary web scripts or HTML via the 'name' or 'namespace' parameters, potentially leading to unauthorized actions or data exposure.

How To Fix

Minimum fixed version

5.0.46

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

If immediate patching is not feasible, consider implementing input validation and sanitization for the 'name' and 'namespace' parameters to mitigate the risk of XSS attacks. This can be done by escaping user inputs before processing them in the application.

Conclusion

The XSS vulnerability in Liferay Frontend Editor CKEditor Web poses a significant risk to applications using this component. It is crucial to update to the patched versions to safeguard against potential attacks. Implementing input validation can serve as a temporary workaround while updates are applied.

See every vulnerability recorded for com.liferay:com.liferay.frontend.editor.ckeditor.web →

Share this vulnerability

FAQ

CVE-2022-42116 is a vulnerability in the Liferay Frontend Editor CKEditor Web that allows for Cross-site Scripting (XSS) attacks.

The vulnerability affects Liferay Frontend Editor CKEditor Web versions prior to 5.0.46, Liferay Portal versions 7.3.2 through 7.4.3.14, and Liferay DXP 7.3 before update 6, and 7.4 before update 15.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

Exploitation of this vulnerability can lead to unauthorized actions, data exposure, and compromise of user sessions through XSS attacks.

The CVSS score for this vulnerability is 6.1, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for com.liferay:com.liferay.frontend.editor.ckeditor.web.

How To Fix

Minimum fixed version

5.0.46

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