QID 731188

Date Published: 2024-02-22

QID 731188: Liferay Portal Stored Cross-Site Scripting (XSS) Vulnerability (CVE-2024-25610)

Liferay Portal is an open-source enterprise web platform for building business solutions and collaborative applications.

CVE-2024-25610: In Liferay Portal, the default configuration does not sanitize blog entries of JavaScript, which allows remote authenticated users to inject arbitrary web script or HTML (XSS) via a crafted payload injected into a blog entrys content text field.

Affected Versions:
Liferay Portal from version 7.4.0 to 7.4.3.12.
Liferay Portal from version 7.3.0 to 7.3.7.
Liferay Portal 7.2.0 and 7.2.1.
Liferay Portal, older unsupported versions.

QID Detection Logic (Unauthenticated):
This QID checks for vulnerable versions of Liferay Portal in the response banner.

Note: This QID does not checks the workaround. Hence, set as Practice.

Successful exploitation of this vulnerability allows remote authenticated users to inject arbitrary web script or HTML (XSS) via a crafted payload injected into a blog entrys content text field.

  • CVSS V3 rated as Critical - 9 severity.
  • CVSS V2 rated as Medium - 3.6 severity.
  • Solution
    Vendor has released patch. For more info, please refer to Liferay Portal Security Advisory

    Workaround:
    Workaround: Navigate to: System Settings - Security Tools - AntiSamy Sanitizer and remove com.liferay.blogs.model.BlogsEntry from the Whitelist

    CVEs related to QID 731188

    Software Advisories
    Advisory ID Software Component Link
    Liferay Portal Security Advisory URL Logo liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2024-25610