CVE-2021-40289 mm-wiki is vulnerable to Cross-Site Scripting (XSS)

Medium 6.1 Published Updated

Cross-site scripting vulnerability in mm-wki allows attackers to inject malicious scripts into web pages viewed by other users.

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-40289?

CVE-2021-40289 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 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

mm-wki v0.2.1 is vulnerable to Cross Site Scripting (XSS).

Weakness: CWE-79

Which versions are affected by CVE-2021-40289?

2 open source packages ship an affected version, including github.com/phachon/mm-wiki. It affects 1 product.

PackageAffectedFixed in
github.com/phachon/mm-wiki GoAll versions to 0.2.1None
github.com/phachon/mm-wiki GoAll versions to 0.2.1None

Products include Mm-Wki Project Mm-Wki.

How do I fix CVE-2021-40289?

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

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

Sources

Also known as GHSA-99g5-5643-xphp.

Is CVE-2021-40289 in your software?

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

Check your SBOMs for free