CVE-2021-24956 Blog2Social < 6.8.7 - Reflected Cross-Site Scripting

Medium 6.1 Published Updated

Reflected Cross-Site Scripting in Blog2Social WordPress plugin allows attackers to inject malicious scripts into admin pages via the b2sShowByDate parameter.

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-2021-24956?

CVE-2021-24956 is a medium-severity cross-site scripting vulnerability in Unknown Blog2Social: Social Media Auto Post & Scheduler, published on 21 Dec 2021. 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 Blog2Social: Social Media Auto Post & Scheduler WordPress plugin before 6.8.7 does not sanitise and escape the b2sShowByDate parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting issue

Weakness: CWE-79

Which versions are affected by CVE-2021-24956?

It affects 1 product.

Products include Adenion Blog2social.

How do I fix CVE-2021-24956?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-8852-jmw6-m5gc.

Is CVE-2021-24956 in your software?

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

Check your SBOMs for free