Liferay PortalApplication · Liferay

CVE-2023-47795

MEDIUM · 5.4 CVSS v3.1 Published 2024-02-21
Fix available
A fix is available. Upgrade to 7.4.3.102 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
Stored cross-site scripting (XSS) vulnerability in the Document and Media widget in Liferay Portal 7.4.3.18 through 7.4.3.101, and Liferay DXP 2023.Q3 before patch 6, and 7.4 update 18 through 92 allows remote authenticated users to inject arbitrary web script or HTML via a crafted payload injected into a document's “Title” text field.

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

Stored XSS vulnerability in Lifer Portal/DXP's Document and Media widget allows authenticated users to inject malicious scripts into a document's Title field. The payload persists and executes when other users view the document, enabling session hijacking or phishing attacks.

MitigationApply vendor-provided patches (patch 6 for DXP 2023.Q3, update 92 for 7.4) or implement output encoding/sanitization on the Title field before rendering.

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
Liferay PortalApplication
Affected:>= 7.4.3.18, < 7.4.3.102
Digital Experience PlatformApplication
Affected:= 7.4= 2023.q3.0= 2023.q3.1= 2023.q3.2= 2023.q3.3= 2023.q3.4= 2023.q3.5

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. Check Lifer Portal/DXP version
    Access the Lifer Control Panel > Configuration > Server Administration > Product Information, or inspect the portal-ext.properties or OSGi manifest files for the exact version number
    Affected if The installed version is >= 7.4.3.18 and < 7.4.3.102 for Lifer Portal, or exactly 7.4, 2023.q3.0, 2023.q3.1, 2023.q3.2, 2023.q3.3, 2023.q3.4, or 2023.q3.5 for DXP
  2. Verify Document and Media widget is accessible
    Navigate to the Lifer Control Panel > Apps > Widgets and confirm the Document and Media portlet is installed; check permissions to ensure authenticated users can access it
    Affected if The Document and Media widget is deployed and enabled for authenticated users in the environment
  3. Inspect existing documents for suspicious titles
    In the Document and Media library, review document titles for unescaped HTML/script tags such as <script>, javascript:, or event handlers like onload/onerror
    Affected if Any documents exist with script tags or HTML markup embedded in their Title field that would execute when viewed

The environment is affected if the Lifer version falls within the listed vulnerable ranges AND the Document and Media widget is accessible to authenticated users, allowing them to create or modify document titles.

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 7.4.3.102 or later
Fixed in 7.4.3.102
Interim mitigation

Apply vendor-provided patches (patch 6 for DXP 2023.Q3, update 92 for 7.4) or implement output encoding/sanitization on the Title field before rendering.

Recommended fix High confidence

Lifera Portal 7.4.3.102+ / Lifera DXP 2023.Q3 Patch 6+ / Lifera DXP 7.4 Update 93+

  1. Upgrade Liferay Portal from versions 7.4.3.18 through 7.4.3.101 to version 7.4.3.102 or later
  2. For Lifera DXP 2023.Q3, apply patch 6 or later to address the vulnerability
  3. For Lifera DXP 7.4, upgrade from update 18-92 to update 93 or later
Caveat Review release notes for any breaking changes between affected and fixed versions before upgrading

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

Fix this in Liferay Portal Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing2.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,980
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-47795 — 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-2023-47795 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