Cyber Resilience

CVE-2022-42118

Medium

Published: 15 November 2022

Published
15 November 2022
Modified
13 May 2025
KEV Added
Patch
CVSS Score v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.3243 97.0th percentile
Risk Priority 32 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-42118 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Liferay Digital Experience Platform. Its CVSS base score is 6.1 (Medium).

Operationally, ranked in the top 3.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

A Cross-site scripting vulnerability exists in the Portal Search module of Liferay Portal versions 7.1.0 through 7.4.2 and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 15, and 7.3 before service pack 3. The flaw, tracked as CWE-79, permits injection of arbitrary web script or HTML through the tag parameter and carries a CVSS 3.1 score of 6.1 reflecting network attack vector, low complexity, and required user interaction with changed scope.

Remote attackers without authentication can supply a crafted tag value that executes script in the context of a victim user who follows a malicious link or views affected search results, enabling theft of session tokens, redirection, or other client-side actions.

Liferay security advisories and the associated issue tracker entries direct administrators to apply the listed fix packs and service packs that remediate the parameter handling defect; the vendor knowledge base page for CVE-2022-42118 provides the definitive patch guidance. The EPSS score has remained steady at its observed peak of 0.3243 with no material upward movement after disclosure.

EU & UK References

Vulnerability details

A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 15, and 7.3 before service pack 3 allows remote attackers to inject…

more

arbitrary web script or HTML via the `tag` parameter.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

liferay
liferay portal
7.1.0 — 7.4.2
liferay
digital experience platform
7.1, 7.2
liferay
dxp
7.3

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References