# CVE-2021-3830: Cross-site Scripting (XSS) - Stored in btcpayserver/btcpayserver

- Severity: Low 3.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 40% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-26T08:15:14.000Z
- Modified: 2026-06-17T04:05:51.240Z
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

btcpayserver is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

(As written by CVE List.)

## Affected

- btcpayserver btcpayserver/btcpayserver: from unspecified before 1.2.3
- btcpayserver btcpay_server: up to 1.2.3

## Every score

- @huntrdev: CVSS:3.0 3.8 Low `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/0fcdee5f-1f07-47ce-b650-ea8b4a7d35d8> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/btcpayserver/btcpayserver/commit/fc4e47cec608cc3dba24b19d0145ac69320b975e> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3830](https://www.cve.org/CVERecord?id=CVE-2021-3830), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3830](https://nvd.nist.gov/vuln/detail/CVE-2021-3830), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3830 · Whole record: https://cve.day/CVE-2021-3830.json · Rebuilt by cve.day 2026-11-25T22:58:04.154Z
