CVE-2024-5791 Cross-site scripting in Online Booking & Scheduling Calendar for WordPress by vcita

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the wp_id parameter, leading to code execution in admin dashboards.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5791?

CVE-2024-5791 is a high-severity cross-site scripting vulnerability in Online Booking & Scheduling Calendar for WordPress by vcita, published on 22 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Online Booking & Scheduling Calendar for WordPress by vcita plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wp_id' parameter in all versions up to, and including, 4.4.2 due to missing authorization checks on processAction function, as well as insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that will execute whenever a user accesses a wp-admin dashboard.

Weakness: CWE-79

Which versions are affected by CVE-2024-5791?

It affects 1 product.

Products include Vcita Online Booking \& Scheduling Calendar.

How do I fix CVE-2024-5791?

No fix has been published for CVE-2024-5791 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-2024-5791 being exploited?

There is no known exploitation of CVE-2024-5791 in the wild and no public exploit code.

Sources

Also known as GHSA-m6hx-j8vx-vmhg.

Is CVE-2024-5791 in your software?

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

Check your SBOMs for free