CVE-2022-23072

Source
https://cve.org/CVERecord?id=CVE-2022-23072
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23072.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23072
Published
2022-06-21T08:10:11.137Z
Modified
2026-07-15T01:48:55.457992106Z
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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "Mend",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23072.json"
}
References

Affected packages

Git / github.com/tandoorrecipes/recipes

Affected ranges

Type
GIT
Repo
https://github.com/tandoorrecipes/recipes
Events
Database specific
{
    "cpe": "cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.5"
        },
        {
            "last_affected": "1.2.5"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23072.json"