CVE-2021-40658 Cross-site scripting in n/a

Medium 4.8 Published Updated

Attackers can inject malicious HTML into the body content, potentially leading to script execution and data theft in Textpattern CMS.

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

What is CVE-2021-40658?

CVE-2021-40658 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Textpattern 4.8.7 is affected by a HTML injection vulnerability through “Content>Write>Body”.

Weakness: CWE-79

Which versions are affected by CVE-2021-40658?

It affects 1 product.

Products include Textpattern Textpattern.

How do I fix CVE-2021-40658?

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

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

Sources

Also known as GHSA-v23m-4wgj-2gjp.

Is CVE-2021-40658 in your software?

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

Check your SBOMs for free