Advisory record · GHSA-gxxj-fhmr-37j9

Liferay Portal and Liferay DXP Vulnerable to SQL Injection via the Layout Module

CVSS 8.8 HighEPSS 0.012 · 67th percentile

Published by the GitHub Advisory Database at 15 Nov 2022, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
com.liferay:com.liferay.layout.page.template.serviceMaven<4.0.174.0.17
com.liferay.portal:release.dxp.bomMaven>=7.1.0, <7.1.10.fp27 || >=7.2.0, <7.2.10.fp177.1.10.fp27, 7.2.10.fp17
Identifiers
GHSA-gxxj-fhmr-37j9 · CVE-2022-42121
Weakness (CWE)
CWE-89
Published
15 Nov 2022
Updated
5 Sept 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Liferay Portal and Liferay DXP are vulnerable to SQL injection in the Layout module, affecting com.liferay.layout.page.template.service before 4.0.17 and release.dxp.bom from 7.1.0 before 7.1.10.fp27 and from 7.2.0 before 7.2.10.fp17. A remote attacker with an authenticated account can inject a crafted payload into a page template's Name field to run arbitrary SQL commands. Upgrade the layout page template service to 4.0.17, or DXP to 7.1.10.fp27 or 7.2.10.fp17.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.8 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.012, the 67th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:10 UTC First seen by agentprime
  2. 31 Oct 2026, 15:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.