LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25157: Phraseanet 4.0.3 Stored XSS via Document Upload

Phraseanet 4.0.3 contains a stored cross-site scripting vulnerability that allows authenticated users to inject malicious scripts through crafted file names during document uploads. Attackers can upload files with embedded SVG scripts that execute in the browser, potentially stealing cookies or redirecting users when the file is viewed.

MediumCVSS 6.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Phraseanet DAM Open Source 4.0.3 has a stored cross-site scripting issue in document uploads. An authenticated user can upload a document with a crafted filename or SVG content that later runs script in another user’s browser. Business risk is session theft, user redirection, or actions performed through a trusted Phraseanet session.

Executive priority

Treat as a moderate-priority application security issue. It requires authenticated access but may affect other users and sessions after upload. Prioritize remediation if Phraseanet is externally reachable or used by many contributors.

Technical view

CVE-2018-25157 is CWE-79 stored XSS affecting Phraseanet DAM Open Source <=4.0.3 and 4.0.4-dev. The CVSS v3.1 score is 6.4, with network access, low complexity, low privileges, and changed scope. The issue is triggered through crafted document upload metadata/content, specifically filenames and embedded SVG script handling.

Likely exposure

Exposure is most relevant for internet- or intranet-accessible Phraseanet deployments where non-administrative authenticated users can upload documents. Public-facing DAM portals with many contributors have higher practical risk than tightly administered internal systems.

Exploitation context

The source bundle includes an ExploitDB reference, indicating public exploit information exists. The CVE is not listed as KEV in the provided data, and no cited source states active exploitation in the wild.

Researcher notes

Evidence identifies stored XSS via document upload in Phraseanet 4.0.3, with affected versions listed as <=4.0.3 and 4.0.4-dev. The bundle does not provide a named fixed release or vendor advisory details, so remediation should be confirmed through vendor channels.

Mitigation direction

  • Identify Phraseanet instances running <=4.0.3 or 4.0.4-dev.
  • Check Phraseanet vendor guidance and download sources for supported fixed versions.
  • Restrict document upload capability to trusted users until remediated.
  • Review controls for SVG handling, filename sanitization, and content rendering.
  • Monitor Phraseanet sessions and logs for suspicious uploads or unusual user redirects.

Validation and detection

  • Inventory Phraseanet version and deployment exposure.
  • Confirm whether authenticated users can upload documents.
  • Review recent uploaded filenames and SVG files for suspicious script-like content.
  • Validate in staging that uploaded document names/content are safely encoded when viewed.
  • Track remediation status against vendor or advisory guidance.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25157 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.4 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.4CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N3.12.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.4Medium
CVSS 3.1 vector shape for CVE-2018-25157Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
PhraseanetPhraseanet DAM Open Source<= 4.0.3, 4.0.4-devListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.