---
id: CVE-2025-54789
title: Files is a module for managing files inside spaces and user profiles
summary: >-
  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 exe…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-80
vendor: humhub
product: files
affected:
  - files < 0.16.10
patched:
  - files 0.16.10
published: '2025-08-02'
updated: '2026-09-02'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54789'
references:
  - url: >-
      https://github.com/humhub/cfiles/commit/f022bdd1cc54334a7a2a6f90a8168bb9583a2f00
    label: security-advisories@github.com
  - url: 'https://github.com/humhub/cfiles/releases/tag/v0.16.10'
    label: security-advisories@github.com
  - url: 'https://github.com/humhub/cfiles/security/advisories/GHSA-cw2v-c62w-5r43'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00267
epssPercentile: 0.16747
ingestedAt: '2026-09-02T14:45:27.904Z'
---

## Overview

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.

## Affected

- `files < 0.16.10`

## Remediation

Upgrade past the affected range:

- `files 0.16.10`
