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

Low 3.8 Published Updated

Stored XSS in BTCPay Server allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-3830?

CVE-2021-3830 is a low-severity cross-site scripting vulnerability in btcpayserver/btcpayserver, published on 26 Sep 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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

Weakness: CWE-79

Which versions are affected by CVE-2021-3830?

It affects 1 product.

Products include Btcpayserver Btcpay Server.

How do I fix CVE-2021-3830?

No fix has been published for CVE-2021-3830 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-3830 being exploited?

There is no known exploitation of CVE-2021-3830 in the wild and no public exploit code.

Sources

Also known as GHSA-3xmg-w8wr-4536.

Is CVE-2021-3830 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free