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.
{
"cna_assigner": "Mend",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json"
}{
"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"
}
]
}