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

Medium 6.1 Published Updated

Unauthenticated attackers can modify payment statuses and inject scripts that execute when admins view failed payments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-0421?

CVE-2022-0421 is a medium-severity cross-site scripting vulnerability in Unknown Five Star Restaurant Reservations, published on 21 Nov 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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

Weakness: CWE-116

Which versions are affected by CVE-2022-0421?

It affects 1 product.

Products include Fivestarplugins Five Star Restaurant Reservations.

How do I fix CVE-2022-0421?

No fix has been published for CVE-2022-0421 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-0421 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-0421 exists.

Sources

Also known as GHSA-rm3p-6j6m-68q8.

Is CVE-2022-0421 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free