# CVE-2021-4263: leanote history.js define cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2022-12-21T00:00:00.000Z
- Modified: 2026-06-17T04:19:22.760Z
- Also known as: GHSA-6cmv-2548-82v4
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- leanote: 2.6.1
- github.com/leanote/leanote (Go): up to 2.6.1
- leanote leanote: 2.6.1

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vuldb.com/?id.216461> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.216461> (permissions-required, signature, third-party-advisory, web)
- <https://github.com/leanote/leanote/commit/0f9733c890077942150696dcc6d2b1482b7a0a19> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-4263> (advisory)
- <https://github.com/leanote/leanote> (package)

## Sources

- CVE List: [CVE-2021-4263](https://www.cve.org/CVERecord?id=CVE-2021-4263), CVE Terms of Use, modified 2025-04-14
- GitHub Advisory Database: [GHSA-6cmv-2548-82v4](https://github.com/advisories/GHSA-6cmv-2548-82v4), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-4263](https://nvd.nist.gov/vuln/detail/CVE-2021-4263), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4263 · Whole record: https://cve.day/CVE-2021-4263.json · Rebuilt by cve.day 2026-11-25T22:58:07.967Z
