Skip to content
Heist/ feed
Back to feed
Medium

Files is Vulnerable to Reflected Self-XSS through its File Move Functionality

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54789
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:32 UTC · Revision 1

Source evidence

Files is Vulnerable to Reflected Self-XSS through its File Move Functionality

core-osv · Original source

Published 1 Aug 2025, 23:26 UTC

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.

osv:CVE-2025-54789
Complete source record
{
  "id": "03c7551d4ef437cf8ca188425750991c4830f395615c4e502538bed929c1295b",
  "url": "https://osv.dev/vulnerability/CVE-2025-54789",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Files is Vulnerable to Reflected Self-XSS through its File Move Functionality",
    "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 execution in the context of the user’s session. This is fixed in version 0.16.10.",
    "evidence": "osv:CVE-2025-54789",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-54789",
      "aliases": [
        "CVE-2025-54789",
        "GHSA-cw2v-c62w-5r43"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/humhub/cfiles",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "bde0bf9240473c23b7c213a49a3869544eaffeb9"
                },
                {
                  "fixed": "f022bdd1cc54334a7a2a6f90a8168bb9583a2f00"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:humhub:files:*:*:*:*:*:humhub:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.16.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f022bdd1cc54334a7a2a6f90a8168bb9583a2f00"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "bde0bf9240473c23b7c213a49a3869544eaffeb9"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.16.10"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.16.9",
            "v0.16.8",
            "v0.16.7",
            "v0.16.6",
            "v0.16.5",
            "v0.16.4",
            "v0.16.3",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.1",
            "v0.15.0",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.1",
            "v0.11.20",
            "v0.11.18"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54789.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.607501979Z",
      "provider": "osv",
      "references": [
        "https://github.com/humhub/cfiles/releases/tag/v0.16.10",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54789.json",
        "https://github.com/humhub/cfiles/security/advisories/GHSA-cw2v-c62w-5r43",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54789",
        "https://github.com/humhub/cfiles/commit/f022bdd1cc54334a7a2a6f90a8168bb9583a2f00"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-80"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.6.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54789.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54789",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519299,
  "published_at": "2025-08-01T23:26:32.195+00:00"
}