CVE-2023-0493: Withdrawn Advisory HTML Injections Vulnerability

HIGH
Advisory Identifier: GHSA-33gv-rvgq-gpxp
CVSS 8.8
CWE-76 CWE-74
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2023-0493
GHSA Identifier GHSA-33gv-rvgq-gpxp
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-76: Improper Neutralization of Equivalent Special Elements
Affected Product Withdrawn Advisory
Package Ecosystem NuGet
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

BTCPayServer.Client fixed: 1.7.5
Upgrade BTCPayServer.Client to 1.7.5
Verify Direct and Transitive Dependencies

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

## Withdrawn Advisory This 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. ## Original Description Improper Neutralization of Equivalent Special Elements in GitHub repository btcpayserver/btcpayserver prior to 1.7.5.

CVE-2023-0493 Affected Withdrawn Advisory Versions

1 component(s)
Fixed Versions:
1.7.5
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?
CVE-2023-0493 is a security vulnerability in Withdrawn Advisory involving HTML injections in BTCPayServer under CWE-76: Improper Neutralization of Equivalent Special Elements.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 1.7.5 across affected packages: BTCPayServer.Client.
What version fixes CVE-2023-0493?
Upgrading to 1.7.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is BTCPayServer.Client affected?
Yes, BTCPayServer.Client is affected in releases prior to 1.7.5. Upgrade your dependency to 1.7.5 or later.
What is the CVSS score of CVE-2023-0493?
CVE-2023-0493 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2023-0493?
CVE-2023-0493 is classified under CWE-76: Improper Neutralization of Equivalent Special Elements (The product correctly neutralizes certain special elements, but it improperly neutralizes equivalent special elements.).
How can I check NuGet dependencies for CVE-2023-0493?
Run the dependency tree command: 'inspect dependencies for BTCPayServer.Client'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}