{"id":"CVE-2021-4263","aliases":["CVE-2021-4263","GHSA-6cmv-2548-82v4"],"related":[],"kind":"vulnerability","state":"published","title":"leanote history.js define cross site scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine Schwachstelle wurde in leanote 2.6.1 entdeckt. Sie wurde als problematisch eingestuft. Es geht hierbei um die Funktion define der Datei public/js/plugins/history.js. Durch die Manipulation des Arguments content mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Patch wird als 0f9733c890077942150696dcc6d2b1482b7a0a19 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.","source":"cvelist"},{"lang":"en","text":"A vulnerability, which was classified as problematic, has been found in leanote. 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 name of the patch is https:/github.com/leanote/leanote/commit/0f9733c890077942150696dcc6d2b1482b7a0a19. It is recommended to apply a patch to fix this issue. The identifier VDB-216461 was assigned to this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad fue encontrada en leanote 2.6.1 y clasificada como problemática. Este problema afecta la función de definición del archivo public/js/plugins/history.js. La manipulación del argumento content conduce a Cross-Site Scripting. El ataque puede iniciarse de forma remota. El nombre del parche es 0f9733c890077942150696dcc6d2b1482b7a0a19. Se recomienda aplicar un parche para solucionar este problema. A esta vulnerabilidad se le asignó el identificador VDB-216461.","source":"nvd"}],"published":"2022-12-21T00:00:00.000Z","modified":"2026-06-17T04:19:22.760Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"2.6.1","status":"affected"}],"product":"leanote","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.6.1"}],"ecosystem":"Go","package":"github.com/leanote/leanote","purl":"pkg:golang/github.com/leanote/leanote","source":"ghsa"},{"ranges":[{"status":"affected","version":"2.6.1"}],"vendor":"leanote","product":"leanote","cpe":"cpe:2.3:a:leanote:leanote:2.6.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.216461","tags":["technical-description","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.216461","tags":["permissions-required","signature","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/leanote/leanote/commit/0f9733c890077942150696dcc6d2b1482b7a0a19","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4263","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/leanote/leanote","tags":["package"],"sources":["ghsa"]}],"credits":["VulDB GitHub Commit Analyzer"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-14T17:00:28.514Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4263","url":"https://www.cve.org/CVERecord?id=CVE-2021-4263","licence":"CVE Terms of Use","modified":"2025-04-14T17:30:21.115Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6cmv-2548-82v4","url":"https://github.com/advisories/GHSA-6cmv-2548-82v4","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:07.071Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4263","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4263","licence":"Public domain","modified":"2026-06-17T04:19:22.760Z"}],"updatedAt":"2026-11-25T22:58:07.967Z","epss":{"score":0.00583,"percentile":0.49236,"date":"2026-12-01T12:00:22.000Z"}}