CVE-2022-42118: A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4....
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-42118 is a cross-site scripting flaw in Liferay’s Portal Search module. An attacker can craft content through the tag parameter that runs script in a user’s browser if the user interacts with it. Business impact is mainly session, data, or user-action abuse within the victim’s Liferay context.
Executive priority
Treat this as a medium-priority web application security update. It is not reported as actively exploited in the provided sources, but public-facing Liferay portals should be remediated promptly because successful attacks can affect user trust and authenticated sessions.
Technical view
The issue is CWE-79 XSS affecting 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. CVSS 3.1 is 6.1: network reachable, low complexity, no privileges required, user interaction required, changed scope, low confidentiality and integrity impact.
Likely exposure
Exposure is limited to organizations running the affected Liferay Portal or DXP versions with the Portal Search module reachable by users. Public-facing portals increase risk because attackers can target unauthenticated visitors or staff with crafted links or content.
Exploitation context
The CVE record does not show CISA KEV listing, and the provided sources do not claim active exploitation. Exploitation requires user interaction and succeeds in the browser context of the targeted user, not as direct server code execution.
Researcher notes
The provided sources identify the vulnerable parameter and affected version ranges but do not include proof-of-concept details. Avoid assuming exploit prevalence or additional affected products. Validation should focus on version, module exposure, and confirming the vendor-fixed maintenance level.
Mitigation direction
Apply the relevant Liferay fix pack or service pack listed as fixing the affected DXP branch.
Upgrade Liferay Portal to a vendor-supported version outside 7.1.0 through 7.4.2.
Review Liferay’s advisory and issue tracker for exact fixed builds and deployment guidance.
Prioritize public-facing portals and administrative user populations first.
Validation and detection
Inventory all Liferay Portal and DXP deployments and record exact versions.
Confirm whether affected Portal Search functionality is enabled and reachable.
Verify installed fix pack or service pack level against Liferay’s advisory.
Review web logs for unusual use of the tag parameter in search-related requests.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-79 · source CWE mapping
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.