SQL Injection Affecting com.liferay:com.liferay.layout.page.template.service package, versions [,4.0.17)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMLIFERAY-3114434
  • published15 Nov 2022
  • disclosed15 Nov 2022
  • creditUnknown

Introduced: 15 Nov 2022

CVE-2022-42121  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade com.liferay:com.liferay.layout.page.template.service to version 4.0.17 or higher.

Overview

com.liferay:com.liferay.layout.page.template.service is an enterprise information portal

Affected versions of this package are vulnerable to SQL Injection in the Layout module, via a crafted payload injected into a page template's 'Name' field.

CVSS Scores

version 3.1