CVE-2022-42112

Summary

CVECVE-2022-42112
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-10-18 21:15:16 UTC
Updated2026-07-09 01:17:46 UTC
DescriptionA Cross-site scripting (XSS) vulnerability in the Portal Search module's Sort widget in Liferay Portal 7.2.0 through 7.4.3.24, and Liferay DXP 7.2 before fix pack 19, 7.3 before update 5, and DXP 7.4 before update 25 allows remote attackers to inject arbitrary web script or HTML via a crafted payload.

Risk And Classification

Primary CVSS: v3.1 5.4 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

EPSS: 0.004790000 probability, percentile 0.380690000 (date 2026-07-13)

Problem Types: CWE-79 | n/a | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
3.1ADPDECLARED5.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Liferay Digital Experience Platform All All All All
Application Liferay Digital Experience Platform 7.2 - All All
Application Liferay Digital Experience Platform 7.2 fix_pack_1 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_10 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_11 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_12 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_13 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_14 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_15 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_18 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_2 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_3 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_4 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_5 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_6 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_7 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_8 All All
Application Liferay Digital Experience Platform 7.2 fix_pack_9 All All
Application Liferay Dxp 7.3 - All All
Application Liferay Dxp 7.3 sp1 All All
Application Liferay Dxp 7.3 sp2 All All
Application Liferay Dxp 7.3 sp3 All All
Application Liferay Dxp 7.3 update_1 All All
Application Liferay Dxp 7.3 update_2 All All
Application Liferay Dxp 7.3 update_3 All All
Application Liferay Dxp 7.3 update_4 All All
Application Liferay Dxp 7.4 ga1 All All
Application Liferay Dxp 7.4 update_1 All All
Application Liferay Dxp 7.4 update_10 All All
Application Liferay Dxp 7.4 update_11 All All
Application Liferay Dxp 7.4 update_12 All All
Application Liferay Dxp 7.4 update_13 All All
Application Liferay Dxp 7.4 update_14 All All
Application Liferay Dxp 7.4 update_15 All All
Application Liferay Dxp 7.4 update_16 All All
Application Liferay Dxp 7.4 update_17 All All
Application Liferay Dxp 7.4 update_18 All All
Application Liferay Dxp 7.4 update_19 All All
Application Liferay Dxp 7.4 update_2 All All
Application Liferay Dxp 7.4 update_20 All All
Application Liferay Dxp 7.4 update_21 All All
Application Liferay Dxp 7.4 update_22 All All
Application Liferay Dxp 7.4 update_23 All All
Application Liferay Dxp 7.4 update_24 All All
Application Liferay Dxp 7.4 update_3 All All
Application Liferay Dxp 7.4 update_4 All All
Application Liferay Dxp 7.4 update_5 All All
Application Liferay Dxp 7.4 update_6 All All
Application Liferay Dxp 7.4 update_7 All All
Application Liferay Dxp 7.4 update_8 All All
Application Liferay Dxp 7.4 update_9 All All
Application Liferay Liferay Portal All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
CVE-2022-42112 Stored XSS with sort by label in Search Sort widget af854a3a-2127-422b-91ae-364da2661108 portal.liferay.dev Patch, Vendor Advisory
Digital Experience Software Tailored to Your Needs | Liferay MITRE liferay.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 731106 Liferay Portal Stored Cross-Site Scripting (XSS) Vulnerability (CVE-2022-42112)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report