SecurityContext

CVE-2022-42119: Liferay - Stored XSS

  • Cve: CVE-2022-42119
  • Name: Liferay - Stored XSS
  • Description: Certain Liferay products are vulnerable to Cross Site Scripting (XSS) via the Commerce module. This affects Liferay Portal 7.3.5 through 7.4.2 and Liferay DXP 7.3 before update 8.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially stealing cookies or session tokens.
  • Remediation: Update to a version later than 7.4.2.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to send malicious input
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00485
  • Epss percentile: 0.42617
  • Assignee: [email protected]
  • Published at: 2022-11-15T01:15:12Z
  • Age in days: 1470
  • Modified at: 2026-07-09T01:17:47Z
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42119
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://issues.liferay.com/browse/LPE-17632nvdIssue Tracking, Vendor Advisory
https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42119nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
liferay:liferay_portal>= 7.3.5, <= 7.4.2nonvd/v1/products/liferay/liferay_portal
liferay:dxp= 7.3, = 7.3 update_1, = 7.3 update_2, = 7.3 update_3, = 7.3 update_4, = 7.3 update_5, = 7.3 update_6, = 7.3 update_7nonvd/v1/products/liferay/dxp

Projects

RepositoryLink kindsIndexedUrl
liferay/liferay-portalcommit, packageyes/v1/repositories/liferay/liferay-portal

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 2947
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports