1. Home
  2. Vulnerabilities
  3. CVE-2022-42118

CVE-2022-42118

A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2…

Published 15 Nov 2022 · modified 9 Jul 2026 · Sources: NVD, EPSS (FIRST)

Medium 53/100

Summary

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 arbitrary web script or HTML via the `tag` parameter.

Affected products and versions

Liferay (4 line(s))
Liferay
ProductVersionsFixed inSource
Digital experience platform 7.1 — NVD
Digital experience platform 7.2 — NVD
Dxp 7.3 — NVD
Liferay portal from 7.1.0 (included) to 7.4.2 (included) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Liferay Portal - Cross-site Scriptingofficial source

Nuclei template

nuclei -u https://VOTRE-HOTE -t http/cves/2022/CVE-2022-42118.yaml

Source : Open

Timeline

  1. — CVE published (cve)
  2. — Nuclei detection template (nuclei) date first seen

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Weakness
CWE-79 · Script intersite (XSS)

How this data is obtained and calculated