VYPR
Unrated severityNVD Advisory· Published Feb 13, 2023· Updated Mar 21, 2025

Cross-site Scripting (XSS) - Stored in btcpayserver/btcpayserver

CVE-2023-0810

Description

Cross-site Scripting (XSS) - Stored in GitHub repository btcpayserver/btcpayserver prior to 1.7.11.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Stored XSS in BTCPay Server prior to 1.7.11 allows attackers to inject arbitrary JavaScript via crafted file uploads.

Vulnerability

A stored cross-site scripting (XSS) vulnerability exists in BTCPay Server versions prior to 1.7.11. The flaw resides in the static file upload functionality, where user-supplied file names or content are not properly sanitized before being served to other users. This allows an attacker to upload a file containing malicious JavaScript that executes in the context of any user viewing the uploaded file [1][2].

Exploitation

An attacker must have the ability to upload files to the BTCPay Server instance (e.g., as a merchant or admin with file upload permissions). The attacker crafts a file with a payload embedded in the filename or content, such as a specially crafted SVG or HTML file. When other users access the uploaded file (e.g., via a direct link or through the UI), the malicious script executes in their browser [1][2].

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's session. This can lead to session hijacking, theft of sensitive data (e.g., API keys, payment information), defacement, or further attacks against other users of the BTCPay Server instance [1][2].

Mitigation

The vulnerability is fixed in BTCPay Server version 1.7.11, released on 2023-02-13. The fix strengthens Content Security Policy (CSP) rules on static file uploads to prevent script execution [1]. Users should upgrade to version 1.7.11 or later. No workaround is documented in the available references [2].

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.