CVE-2022-0421
JSON

6.1medium

Five Star Restaurant Reservations < 2.4.12 - Unauthenticated Arbitrary Payment Status Update to Stored XSS

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.66% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

The Five Star Restaurant Reservations WordPress plugin before 2.4.12 does not have authorisation when changing whether a payment was successful or failed, allowing unauthenticated users to change the payment status of arbitrary bookings. Furthermore, due to the lack of sanitisation and escaping, attackers could perform Cross-Site Scripting attacks against a logged in admin viewing the failed payments

Affected

Product or packageVersionsReported by
Unknown Five Star Restaurant Reservationsbefore 2.4.12CVE List
fivestarplugins five_star_restaurant_reservationsbefore 2.4.12NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-116

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

The Five Star Restaurant Reservations WordPress plugin before 2.4.12 does not have authorisation when changing whether a payment was successful or failed, allowing unauthenticated users to change the payment status of arbitrary bookings. Furthermore, due to the lack of sanitisation and escaping, attackers could perform Cross-Site Scripting attacks against a logged in admin viewing the failed payments

NVD (es)

El complemento de WordPress Five Star Restaurant Reservations anterior a 2.4.12 no tiene autorización para cambiar si un pago fue exitoso o fallido, lo que permite a usuarios no autenticados cambiar el estado de pago de reservas arbitrarias. Además, debido a la falta de sanitización y escape, los atacantes podrían realizar ataques de Cross-Site Scripting contra un administrador que haya iniciado sesión y vea los pagos fallidos.

References

https://wpscan.com/vulnerability/145e8d3c-cd6f-4827-86e5-ea2d395a80b9exploit, technical-description, third-party-advisory, vdb-entry

Sources

SourceRecordLicence
CVE ListCVE-2022-0421 changed 2025-04-30CVE Terms of Use
NVDCVE-2022-0421 changed 2026-06-17Public domain