CVE-2021-40289 mm-wiki is vulnerable to Cross-Site Scripting (XSS)
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/phachon/mm-wiki Go | All versions to 0.2.1 | None |
github.com/phachon/mm-wiki Go | All versions to 0.2.1 | None |
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.