Digital Experience PlatformApplication · Liferay

CVE-2025-43756

MEDIUM · 5.4 CVSS v3.1 Published 2025-08-21
Fix available
A fix is available. Upgrade to 2024.q1.20 / 2025.Q1.16 or later.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
<!--td {border: 1px solid #cccccc;}br {mso-data-placement:same-cell;}-->A reflected cross-site scripting (XSS) vulnerability in the Liferay Portal 7.4.3.132, and Liferay DXP 2025.Q1.0 through 2025.Q1.15, 2025.Q2.0 through 2025.Q2.2 and 2024.Q1.13 through 2024.Q1.19 allows a remote authenticated user to inject JavaScript code via snippet parameter.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A reflected XSS vulnerability exists in Liferay Portal 7.4.3.132 and DXP versions 2025.Q1.0-2025.Q1.15, 2025.Q2.0-2025.Q2.2, and 2024.Q1.13-2024.Q1.19, allowing authenticated users to inject arbitrary JavaScript via a 'snippet' parameter in a web request.

MitigationImplement proper input validation and output encoding for the snippet parameter, or deploy a Web Application Firewall (WAF) rule to filter malicious script payloads until the vendor patch is applied.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Digital Experience PlatformApplication
Affected:>= 2024.q1.1, < 2024.q1.20>= 2025.Q1.0, < 2025.Q1.16>= 2025.Q2.0, < 2025.Q2.3
Liferay PortalApplication
Affected:= 7.4.3.132

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Liferat DXP or Portal version
    Check the product version through the Liferat Control Panel (Control Panel > Configuration > System Information) or by inspecting the portal-ext.properties file, or running the command: curl -s http://<host>/c/portal/json_service or checking the WAR file version metadata
    Affected if Version is 7.4.3.132, or falls within 2024.Q1.13-2024.Q1.19, 2025.Q1.0-2025.Q1.15, or 2025.Q2.0-2025.Q2.2
  2. Confirm authenticated user access exists
    Verify that user accounts with access to the affected functionality exist in the Liferat instance. Check via Control Panel > Users and Personal Sites, or review database tables for user entries (typically User_ table in the Liferat database)
    Affected if There is at least one authenticated user account in the system who can access the vulnerable endpoint
  3. Identify if the vulnerable snippet parameter feature is exposed
    Locate web forms or API endpoints that accept a 'snippet' parameter. This typically involves reviewing custom portlets, web content templates, or fragment modules. Search codebase or deployed modules for parameter name 'snippet' in form handlers or controller logic
    Affected if The Liferat instance exposes any web endpoint, portlet, or API that accepts a 'snippet' parameter without proper output encoding
  4. Test for reflected XSS in snippet parameter
    If an endpoint accepting 'snippet' is found, send a request with a benign XSS payload such as <script>alert(1)</script> and verify if it reflects unencoded in the response. Example: curl 'http://<host>/web/guest/page?snippet=<script>alert(1)</script>'
    Affected if The payload reflects directly in the HTTP response without HTML encoding

You are affected if your Liferat DXP or Portal version falls within the affected ranges AND you have authenticated users who can access an endpoint that processes the snippet parameter, as the vulnerability requires both conditions to be exploitable.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 2024.q1.20 / 2025.Q1.16 / 2025.Q2.3 or later
Fixed in 2024.q1.202025.Q1.162025.Q2.3
Interim mitigation

Implement proper input validation and output encoding for the snippet parameter, or deploy a Web Application Firewall (WAF) rule to filter malicious script payloads until the vendor patch is applied.

Recommended fix High confidence

2024.Q1.20 (for 2024.Q1 branch) | 2025.Q1.16 (for 2025.Q1 branch) | 2025.Q2.3 (for 2025.Q2 branch) | 7.4.3.133+ (for Portal 7.4.3.x)

  1. Identify your current Liferay installation version from the Liferell Control Panel or version file
  2. For DXP 2024.Q1.x: Upgrade to version 2024.Q1.20 or later
  3. For DXP 2025.Q1.x: Upgrade to version 2025.Q1.16 or later
  4. For DXP 2025.Q2.x: Upgrade to version 2025.Q2.3 or later
  5. For Liferell Portal 7.4.3.132: Upgrade to 7.4.3.133 or later (next subsequent patch release)
  6. After upgrade, verify the snippet parameter is properly sanitized by testing with a benign script payload
  7. Ensure all authenticated users are aware of the security update
Caveat Minor release upgrades typically preserve configuration; review Liferell upgrade notes for database schema changes and deprecation warnings

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Digital Experience Platform Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing4.0 h
  • Review / QA2.0 h
18.0 hours of engineering $3,200
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-43756 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-43756 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data