CVE-2024-1762 NextScripts: Social Networks Auto-Poster <= 4.4.3 - Unauthenticated Stored Cross-Site Scripting via User Agent

Medium 6.1 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the User Agent header, executing them when an admin views cron events.

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-2024-1762?

CVE-2024-1762 is a medium-severity cross-site scripting vulnerability in NextScripts: Social Networks Auto-Poster, published on 22 May 2024. 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 NextScripts: Social Networks Auto-Poster plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the HTTP_USER_AGENT header in all versions up to, and including, 4.4.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the victim to select view "All Cron Events" in order for the injection to fire.

Weakness: CWE-79

Which versions are affected by CVE-2024-1762?

It affects 1 product.

Products include Nextscripts Social Networks Auto Poster.

How do I fix CVE-2024-1762?

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

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

Sources

Also known as GHSA-w98j-8cf9-vjpq.

Is CVE-2024-1762 in your software?

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

Check your SBOMs for free