Loading...
Skip to main content

CVE-2023-44311 — Vulnerability in...

CRITICAL

Liferay Portal and Liferay DXP Vulnerable to XSS via the OAuth2ProviderApplicationRedirect Class

Published October 17, 2023Updated July 15, 2025Source: osv

Summary

Multiple reflected cross-site scripting (XSS) vulnerabilities in the Plugin for OAuth 2.0 module's OAuth2ProviderApplicationRedirect class before 4.0.51 from Liferay Portal (7.4.3.41 through 7.4.3.89), and Liferay DXP 7.4 update 41 through update 89 allow remote attackers to inject arbitrary web script or HTML via the (1) code, or (2) error parameter. This issue is caused by an incomplete fix in CVE-2023-33941.

Advisory Timeline

  • First published October 17, 2023 (1091 days ago).
  • Last revised July 15, 2025 — 637 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.liferay:com.liferay.oauth2.provider.rest to 4.0.51 or later
<!-- Update pom.xml dependency version to 4.0.51 for com.liferay:com.liferay.oauth2.provider.rest -->
Maven
Update com.liferay.portal:release.dxp.bom to 7.4.13.u90 or later
<!-- Update pom.xml dependency version to 7.4.13.u90 for com.liferay.portal:release.dxp.bom -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
com.liferay:com.liferay.oauth2.provider.rest
maven
1.0.0, 1.0.1, 1.0.10, 1.0.11 (+247 more)4.0.51
com.liferay.portal:release.dxp.bom
maven
7.4.13.u41, 7.4.13.u42, 7.4.13.u43, 7.4.13.u44 (+45 more)7.4.13.u90

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.6 score means for each attack dimension.

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

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

Frequently Asked Questions

What is CVE-2023-44311?
Liferay Portal and Liferay DXP Vulnerable to XSS via the OAuth2ProviderApplicationRedirect Class This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.6/10).
How do I check if my project is affected by CVE-2023-44311?
CVE-2023-44311 affects com.liferay:com.liferay.oauth2.provider.rest and com.liferay.portal:release.dxp.bom. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-44311 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.6

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-49gm-5685-8fxv
BIT-liferay-2023-44311

Related CVEs

  • CVE-2024-8980
    CRITICAL

    Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console

  • CVE-2024-25601
    CRITICAL

    Liferay Portal Expando module and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2023-42628
    CRITICAL

    Liferay Portal and Liferay DXP Vulnerable to XSS in the Wiki Widget

  • CVE-2022-42122
    CRITICAL

    Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module

  • CVE-2024-25152
    CRITICAL

    Liferay Portal Message Board widget and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2023-47795
    CRITICAL

    Liferay Portal Document and Media widget and Liferay DXP vulnerable to stored Cross-site Scripting

  • CVE-2024-26273
    HIGH

    Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the Content Page Editor

  • CVE-2024-26272
    HIGH

    Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the Content Page Editor

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies