{"id":"CVE-2022-23072","aliases":["CVE-2022-23072"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En Recipes, versiones 1.0.5 hasta 1.2.5, son vulnerables a un ataque de tipo Cross-Site Scripting (XSS) Almacenado, en la funcionalidad \"Add to Cart\". Cuando una víctima accede a la página de la lista de alimentos, luego agrega un nuevo alimento con una carga útil javascript maliciosa en el parámetro \"Name\" y hace clic en el icono \"Agregar al carrito\", se desencadena una carga útil de tipo XSS. Un atacante con pocos privilegios tendrá la clave API de la víctima y puede conllevar a una toma de control de la cuenta del administrador","source":"nvd"}],"published":"2022-06-21T08:10:11.137Z","modified":"2026-06-17T04:29:27.347Z","severity":{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},"severities":[{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"1.0.5","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"1.2.5","status":"affected"}],"vendor":"recipes","product":"recipes","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.0.5","lastAffected":"1.2.5"}],"vendor":"tandoor","product":"recipes","cpe":"cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23072","tags":["exploit","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Mend Vulnerability Research Team (MVR)"],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23072","url":"https://www.cve.org/CVERecord?id=CVE-2022-23072","licence":"CVE Terms of Use","modified":"2024-09-16T17:57:56.973Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-23072","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23072","licence":"Public domain","modified":"2026-06-17T04:29:27.347Z"}],"updatedAt":"2026-11-25T22:58:12.471Z","epss":{"score":0.00866,"percentile":0.59753,"date":"2026-12-01T12:00:22.000Z"}}