{"id":"CVE-2022-23074","state":"PUBLISHED","title":"Recipes - Stored XSS in Name Parameter","description":"In Recipes, versions 0.17.0 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in the ‘Name’ field of Keyword, Food and Unit components. When a victim accesses the Keyword/Food/Unit endpoints, the XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover.","publishedAt":"2022-06-21T09:20:10.647Z","updatedAt":"2024-09-16T18:55:57.596Z","severity":null,"assigner":"Mend","products":["recipes recipes"],"affected":[{"vendor":"recipes","product":"recipes","versions":[{"version":"0.17.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.2.5","versionType":"custom"}]}],"references":["https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6","https://www.mend.io/vulnerability-database/CVE-2022-23074"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23074.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23074","state":"PUBLISHED","datePublished":"2022-06-21T09:20:10.647Z","dateUpdated":"2024-09-16T18:55:57.596Z","assignerShortName":"Mend","assignerOrgId":"478c68dd-22c1-4a41-97cd-654224dfacff","dateReserved":"2022-01-10T00:00:00.000Z"},"containers":{"cna":{"title":"Recipes - Stored XSS in Name Parameter","descriptions":[{"lang":"en","value":"In Recipes, versions 0.17.0 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in the ‘Name’ field of Keyword, Food and Unit components. When a victim accesses the Keyword/Food/Unit endpoints, the XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover."}],"affected":[{"vendor":"recipes","product":"recipes","versions":[{"version":"0.17.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"1.2.5","versionType":"custom"}]}],"references":[{"url":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6","tags":["x_refsource_MISC"]},{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23074","tags":["x_refsource_MISC"]}],"metrics":[{"other":{"content":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":3.1},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Mend","dateUpdated":"2022-06-21T09:20:10.000Z","orgId":"478c68dd-22c1-4a41-97cd-654224dfacff"},"credits":[{"lang":"en","value":"Mend Vulnerability Research Team (MVR)"}],"datePublic":"2022-01-11T00:00:00.000Z","solutions":[{"lang":"en","value":"Update version to 1.2.6 or later"}],"source":{"advisory":"https://www.mend.io/vulnerability-database/","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"vulnerabilitylab@whitesourcesoftware.com","DATE_PUBLIC":"Jan 11, 2022, 3:10:07 PM","ID":"CVE-2022-23074","STATE":"PUBLIC","TITLE":"Recipes - Stored XSS in Name Parameter"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"recipes","version":{"version_data":[{"version_affected":">=","version_value":"0.17.0"},{"version_affected":"<=","version_value":"1.2.5"}]}}]},"vendor_name":"recipes"}]}},"credit":[{"lang":"eng","value":"Mend Vulnerability Research Team (MVR)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Recipes, versions 0.17.0 through 1.2.5 are vulnerable to Stored Cross-Site Scripting (XSS), in the ‘Name’ field of Keyword, Food and Unit components. When a victim accesses the Keyword/Food/Unit endpoints, the XSS payload will trigger. A low privileged attacker will have the victim's API key and can lead to admin's account takeover."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":3.1}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6","refsource":"MISC","url":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6"},{"name":"https://www.mend.io/vulnerability-database/CVE-2022-23074","refsource":"MISC","url":"https://www.mend.io/vulnerability-database/CVE-2022-23074"}]},"solution":[{"lang":"en","value":"Update version to 1.2.6 or later"}],"source":{"advisory":"https://www.mend.io/vulnerability-database/","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/TandoorRecipes/recipes/commit/7b2117c0190d4f541ba4cc7ee4122f04738c4ac6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23074","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:28:43.316Z"}}]}}}