# CVE-2022-23072: Recipes - Stored XSS in Add to Cart

- Severity: Low 3.5 (CVSS:2.0, scored by NVD) `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-21T08:10:11.137Z
- Modified: 2026-06-17T04:29:27.347Z
- Weaknesses: CWE-79
- Assigned by: Mend

## Description

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.

(As written by CVE List.)

## Affected

- recipes recipes: from 1.0.5 before unspecified; from unspecified up to 1.2.5
- tandoor recipes: from 1.0.5 up to 1.2.5

## References

- <https://www.mend.io/vulnerability-database/CVE-2022-23072> (exploit, patch, third-party-advisory)
- <https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-23072](https://www.cve.org/CVERecord?id=CVE-2022-23072), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2022-23072](https://nvd.nist.gov/vuln/detail/CVE-2022-23072), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23072 · Whole record: https://cve.day/CVE-2022-23072.json · Rebuilt by cve.day 2026-11-25T22:58:12.471Z
