Skip to content
Heist/ feed
Back to feed
Medium

Outline's Local File Storage Feature can Cause CSP Bypass

Type: advisorySources: OSV

Outline is a service that allows for collaborative documentation. In versions 0.72.0 through 0.83.0, Outline introduced a feature which facilitates local file system storage capabilities as an optional file storage strategy. This feature allowed a CSP bypass as well as a ContentType bypass that might facilitate further attacks. In the case of self-hosting and using Outline FILE_STORAGE=local on the same domain as the Outline application, a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions, allowing script execution within the context of another user. This is fixed in version 0.84.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-58351
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:02 UTC · Revision 1

Source evidence

Outline's Local File Storage Feature can Cause CSP Bypass

core-osv · Original source

Published 3 Sept 2025, 03:20 UTC

Outline is a service that allows for collaborative documentation. In versions 0.72.0 through 0.83.0, Outline introduced a feature which facilitates local file system storage capabilities as an optional file storage strategy. This feature allowed a CSP bypass as well as a ContentType bypass that might facilitate further attacks. In the case of self-hosting and using Outline FILE_STORAGE=local on the same domain as the Outline application, a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions, allowing script execution within the context of another user. This is fixed in version 0.84.0.

osv:CVE-2025-58351
Complete source record
{
  "id": "37e1ba87ad271e1a7ca6221568b3f0caf44b500f36ecd7faf7a400946325d149",
  "url": "https://osv.dev/vulnerability/CVE-2025-58351",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Outline's Local File Storage Feature can Cause CSP Bypass",
    "summary": "Outline is a service that allows for collaborative documentation. In versions 0.72.0 through 0.83.0, Outline introduced a feature which facilitates local file system storage capabilities as an optional file storage strategy. This feature allowed a CSP bypass as well as a ContentType bypass that might facilitate further attacks. In the case of self-hosting and using Outline FILE_STORAGE=local on the same domain as the Outline application, a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions, allowing script execution within the context of another user. This is fixed in version 0.84.0.",
    "evidence": "osv:CVE-2025-58351",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-58351",
      "aliases": [
        "CVE-2025-58351",
        "GHSA-gcj7-c9jv-fhgf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/outline/outline",
              "type": "GIT",
              "events": [
                {
                  "introduced": "56cae8a54563c0cd3b2dd28d64baa184a45c490f"
                },
                {
                  "fixed": "8ab0c6ff484f02b5d97e130b20376a17dd4546cc"
                },
                {
                  "fixed": "18bc93c9c207329244c6909606a2393e863892a3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:getoutline:outline:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.72.0"
                      },
                      {
                        "fixed": "0.84.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "18bc93c9c207329244c6909606a2393e863892a3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8ab0c6ff484f02b5d97e130b20376a17dd4546cc"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v0.84.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.82.0",
            "v0.80.2",
            "v0.80.1",
            "v0.80.0",
            "v0.79.1",
            "v0.79.0",
            "v0.78.0-0",
            "v0.77.1",
            "v0.77.0",
            "v0.76.2-0",
            "v0.76.1",
            "v0.76.0",
            "v0.76.0-2",
            "v0.76.0-1",
            "v0.76.0-0",
            "v0.75.2",
            "v0.75.1",
            "v0.75.0",
            "v0.73.1",
            "v0.73.0",
            "v0.72.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58351.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.013967294Z",
      "provider": "osv",
      "references": [
        "https://github.com/outline/outline/releases/tag/v0.84.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58351.json",
        "https://github.com/outline/outline/security/advisories/GHSA-gcj7-c9jv-fhgf",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-58351",
        "https://github.com/outline/outline/commit/18bc93c9c207329244c6909606a2393e863892a3"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58351.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-58351",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504415,
  "published_at": "2025-09-03T03:20:54.579+00:00"
}