Stored HTML injection via unencoded API-key labels
Published Jan 26, 2023 · Updated Mar 31, 2025
Stored HTML injection in BTCPay Server before 1.7.5 allows remote authenticated users to render crafted markup through API-key labels. DeleteAPIKey interpolates the saved label into a ConfirmModel description without HTML encoding, so the delete dialog treats label text as markup. A self-registered account is sufficient; the demonstrated impact is injected links or altered markup in that authenticated user's confirmation dialog.
Summary
What happened
Stored HTML injection in BTCPay Server before 1.7.5 allows remote authenticated users to render crafted markup through API-key labels. DeleteAPIKey interpolates the saved label into a ConfirmModel description without HTML encoding, so the delete dialog treats label text as markup. A self-registered account is sufficient; the demonstrated impact is injected links or altered markup in that authenticated user's confirmation dialog.
The record
- CVE
- CVE-2023-0493
- Published
- Jan 26, 2023
- Updated
- Mar 31, 2025
- Vendor
- BTCPay Server
- Product
- BTCPay Server
- Classifications
- CWE-74, CWE-76
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 26, 2023CVE publishedPublication date reported by the CVE source.
- Mar 31, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <1.7.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- BTCPay Server v1.7.4 HTML Injectionproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo