Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-26916

In nopCommerce 4.30, a Reflected XSS issue in the Discount Coupon component allows remote attackers to inject arbitrary web script or HTML through the Filters/CheckDiscountCouponAttribute.cs discountcode parameter.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-26916
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:42 UTC · Revision 1

Source evidence

CVE-2021-26916

core-osv · Original source

Published 8 Feb 2021, 22:15 UTC

In nopCommerce 4.30, a Reflected XSS issue in the Discount Coupon component allows remote attackers to inject arbitrary web script or HTML through the Filters/CheckDiscountCouponAttribute.cs discountcode parameter.

osv:CVE-2021-26916
Complete source record
{
  "id": "8e5de5936b05f27a1941192dd1dbc79f4b04baaf17fd12d9d97ca6cee7ebfb7b",
  "url": "https://osv.dev/vulnerability/CVE-2021-26916",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-26916",
    "summary": "In nopCommerce 4.30, a Reflected XSS issue in the Discount Coupon component allows remote attackers to inject arbitrary web script or HTML through the Filters/CheckDiscountCouponAttribute.cs discountcode parameter.",
    "evidence": "osv:CVE-2021-26916",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-26916",
      "aliases": [
        "CVE-2021-26916"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nopsolutions/nopcommerce",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b969487ec8b459e9b2fce4e44a27de517f0002a"
                },
                {
                  "last_affected": "5b969487ec8b459e9b2fce4e44a27de517f0002a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nopcommerce:nopcommerce:4.30:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.30-NA"
                      },
                      {
                        "last_affected": "4.30-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.30-NA",
            "release-4.30-release-candicate"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26916.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:34.701170264Z",
      "provider": "osv",
      "references": [
        "https://github.com/nopSolutions/nopCommerce/issues/5322"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-26916",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385633,
  "published_at": "2021-02-08T22:15:12.873+00:00"
}