CVE-2021-4263 leanote history.js define cross site scripting
Remote attackers can inject malicious scripts via the history.js define function in Leanote, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-4263?
CVE-2021-4263 is a low-severity cross-site scripting vulnerability in leanote, published on 21 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability, which was classified as problematic, has been found in leanote 2.6.1. This issue affects the function define of the file public/js/plugins/history.js. The manipulation of the argument content leads to cross site scripting. The attack may be initiated remotely. The identifier of the patch is 0f9733c890077942150696dcc6d2b1482b7a0a19. It is recommended to apply a patch to fix this issue. The identifier VDB-216461 was assigned to this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2021-4263?
2 open source packages ship an affected version, including github.com/leanote/leanote. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/leanote/leanote Go | All versions to 2.6.1 | None |
github.com/leanote/leanote Go | All versions to 2.6.1 | None |
Products include Leanote Leanote.
How do I fix CVE-2021-4263?
No fix has been published for CVE-2021-4263 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-4263 being exploited?
There is no known exploitation of CVE-2021-4263 in the wild and no public exploit code.
Other vulnerabilities in leanote
Sources
Also known as GHSA-6cmv-2548-82v4.