{"id":"CVE-2022-23072","summary":"Recipes - Stored XSS in Add to Cart","details":"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.","modified":"2026-08-12T03:51:44.000767607Z","published":"2022-06-21T08:10:11.137Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json","cna_assigner":"Mend","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://www.mend.io/vulnerability-database/CVE-2022-23072"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23072"},{"type":"FIX","url":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tandoorrecipes/recipes","events":[{"introduced":"6cabeba3cbb4395b20d1e0f8e2ac1918eb5966b6"},{"fixed":"7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"}],"database_specific":{"cpe":"cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.0.5"},{"last_affected":"1.2.5"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.0.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23072.json"}}],"schema_version":"1.9.0"}