Description
Papermark through 0.22.0 contains a cross-origin resource sharing (CORS) misconfiguration vulnerability that allows unauthenticated remote attackers to perform credentialed cross-origin requests by exploiting the TUS-based viewer upload endpoint reflecting arbitrary request Origins with Access-Control-Allow-Credentials set to true. Attackers can lure authenticated victims to malicious pages that silently issue credentialed cross-origin requests to upload arbitrary files into victim datarooms and read credentialed responses.
Published: 2026-06-29
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Papermark through version 0.22.0 suffers from a cross‑origin resource sharing misconfiguration on its TUS‑based viewer upload endpoint. The server echoes the Origin header supplied in a request and returns Access‑Control‑Allow‑Credentials set to true, allowing an unauthenticated attacker to cause a logged‑in user to make a credentialed cross‑origin request. The victim’s browser automatically includes the user’s authentication cookies, enabling the attacker to upload arbitrary files to the victim’s dataroom and read the credentialed response from the server. This flaw is a classic CORS misconfiguration (CWE‑942) and represents a pathway for credential‑authenticated data theft and manipulation.

Affected Systems

Open‑source Papermark platform version 0.22.0, and any earlier releases leading up to that point, are vulnerable. The issue is associated with the Papermark project on GitHub and is reflected in the common platform enumeration string provided. No other vendor or product variants are listed in the advisory.

Risk and Exploitability

The CVSS score of 2.3 indicates a low overall severity, and EPSS data is not available while the vulnerability is not listed in the CISA KEV catalog. Nevertheless, the flaw requires an active, authenticated user and relies on social engineering to lure the victim to a malicious page that silently triggers credentialed requests. The attacker can therefore achieve unauthorized file upload and read access to protected resources once the victim is tricked, but no public exploit scripts are reported. The risk is moderated by the need for an engaged victim but remains significant for organizations that value data confidentiality and integrity.

Generated by OpenCVE AI on June 29, 2026 at 19:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Papermark to a version that corrects the CORS configuration for the viewer upload endpoint; if no patched release is available, plan a migration to a secure version as soon as possible.
  • Configure an HTTP reverse proxy or firewall to enforce an Origin whitelist on the viewer upload endpoint, rejecting any request that does not originate from trusted domains.
  • Implement a Content Security Policy that blocks cross‑origin requests to the viewer upload endpoint from untrusted origins, and monitor traffic for anomalous upload attempts.
  • If rapid remediation is not feasible, disable the viewer upload endpoint entirely until the CORS issue is fixed.

Generated by OpenCVE AI on June 29, 2026 at 19:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 29 Jun 2026 18:15:00 +0000

Type Values Removed Values Added
Description Papermark through 0.22.0 contains a cross-origin resource sharing (CORS) misconfiguration vulnerability that allows unauthenticated remote attackers to perform credentialed cross-origin requests by exploiting the TUS-based viewer upload endpoint reflecting arbitrary request Origins with Access-Control-Allow-Credentials set to true. Attackers can lure authenticated victims to malicious pages that silently issue credentialed cross-origin requests to upload arbitrary files into victim datarooms and read credentialed responses.
Title Papermark 0.22.0 - CORS Misconfiguration in Viewer Upload Endpoint
First Time appeared Papermark
Papermark papermark
Weaknesses CWE-942
CPEs cpe:2.3:a:papermark:papermark:*:*:*:*:*:*:*:*
Vendors & Products Papermark
Papermark papermark
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N'}


Subscriptions

Papermark Papermark
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-29T17:23:10.419Z

Reserved: 2026-06-26T13:59:33.048Z

Link: CVE-2026-57957

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-29T20:00:03Z

Weaknesses
  • CWE-942

    Permissive Cross-domain Security Policy with Untrusted Domains