CVE-2023-0493: Withdrawn Advisory HTML Injections Vulnerability
HIGHCVE-2023-0493 is a HIGH (CVSS 8.8) html injections vulnerability (CWE-76: Improper Neutralization of Equivalent Special Elements) affecting Withdrawn Advisory libraries in the NuGet ecosystem. The issue involves html injections in btcpayserver. Remediation is available by upgrading affected packages to version 1.7.5.
CVE-2023-0493 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-0493
To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade BTCPayServer.Client to 1.7.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for BTCPayServer.Client
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-0493, inspect your project dependencies for Withdrawn Advisory:
inspect dependencies for BTCPayServer.Client
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-76: Improper Neutralization of Equivalent Special Elements, where the product correctly neutralizes certain special elements, but it improperly neutralizes equivalent special elements. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-0493 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
BTCPayServer.Client
|
NuGet |
< 1.7.5
|
1.7.5
|
References
Frequently Asked Questions
What is CVE-2023-0493?
Which Withdrawn Advisory versions are affected?
What version fixes CVE-2023-0493?
Is BTCPayServer.Client affected?
What is the CVSS score of CVE-2023-0493?
What CWE is associated with CVE-2023-0493?
How can I check NuGet dependencies for CVE-2023-0493?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-33gv-rvgq-gpxp",
"modified" : "2023-10-10T21:18:09Z",
"published" : "2023-01-27T00:30:18Z",
"withdrawn" : "2023-10-10T21:18:09Z",
"aliases" : [ "CVE-2023-0493" ],
"summary" : "Withdrawn Advisory: HTML injections in BTCPayServer",
"details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because all of the files affected by this vulnerability lie in the [BTCPayServer folder](https://github.com/btcpayserver/btcpayserver/tree/master/BTCPayServer), which is not in the NuGet ecosystem. The [BTCPayServer folder](https://github.com/btcpayserver/btcpayserver/tree/master/BTCPayServer.Client), corresponding to the [BTCPayServer NuGet entry](https://www.nuget.org/packages/BTCPayServer.Client), does not contain any files that were changed to fix the vulnerability.\n\n## Original Description\nImproper Neutralization of Equivalent Special Elements in GitHub repository btcpayserver/btcpayserver prior to 1.7.5.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "BTCPayServer.Client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-0493"
}, {
"type" : "WEB",
"url" : "https://github.com/btcpayserver/btcpayserver/pull/4545/commits/02070d65836cd24627929b3403efbae8de56039a"
}, {
"type" : "WEB",
"url" : "https://github.com/btcpayserver/btcpayserver/commit/02070d65836cd24627929b3403efbae8de56039a"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/3a73b45c-6f3e-4536-a327-cdfdbc59896f"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/171732/BTCPay-Server-1.7.4-HTML-Injection.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-76" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-04T00:30:29Z",
"nvd_published_at" : "2023-01-26T23:15:00Z"
}
}