SQL Injection Affecting com.liferay:com.liferay.friendly.url.service package, versions [,4.0.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (47th 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-10770478
  • published17 Jul 2025
  • disclosed15 Nov 2022
  • creditUnknown

Introduced: 15 Nov 2022

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

How to fix?

Upgrade com.liferay:com.liferay.friendly.url.service to version 4.0.3 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the title field. An attacker can execute arbitrary SQL commands by injecting crafted payloads.

CVSS Base Scores

version 4.0
version 3.1