Skip to content
Heist/ feed
Back to feed
Unrated

Recipes - Stored XSS in Add to Cart

Type: advisorySources: OSV

In Recipes, versions 1.0.5 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in “Add to Cart” functionality. When a victim accesses the food list page, then adds a new Food with a malicious javascript payload in the ‘Name’ parameter and clicks on the Add to Shopping Cart icon, an XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23072
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:34 UTC · Revision 1

Source evidence

Recipes - Stored XSS in Add to Cart

core-osv · Original source

Published 21 Jun 2022, 08:10 UTC

In Recipes, versions 1.0.5 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in “Add to Cart” functionality. When a victim accesses the food list page, then adds a new Food with a malicious javascript payload in the ‘Name’ parameter and clicks on the Add to Shopping Cart icon, an XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover.

osv:CVE-2022-23072
Complete source record
{
  "id": "b4ae6a52d13896f35fe21695c1ea1b7500217e58aa8cb45ba0b01a91ff76cf41",
  "url": "https://osv.dev/vulnerability/CVE-2022-23072",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Recipes - Stored XSS in Add to Cart",
    "summary": "In Recipes, versions 1.0.5 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in “Add to Cart” functionality. When a victim accesses the food list page, then adds a new Food with a malicious javascript payload in the ‘Name’ parameter and clicks on the Add to Shopping Cart icon, an XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover.",
    "evidence": "osv:CVE-2022-23072",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-23072",
      "aliases": [
        "CVE-2022-23072"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tandoorrecipes/recipes",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6cabeba3cbb4395b20d1e0f8e2ac1918eb5966b6"
                },
                {
                  "fixed": "7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.5"
                      },
                      {
                        "last_affected": "1.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23072.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.637766243Z",
      "provider": "osv",
      "references": [
        "https://www.mend.io/vulnerability-database/CVE-2022-23072",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23072",
        "https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Mend",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23072",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 489927,
  "published_at": "2022-06-21T08:10:11.137+00:00"
}