{"id":"GHSA-6cmv-2548-82v4","summary":"leanote vulnerable to cross-site scripting","details":"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.","aliases":["CVE-2021-4263"],"modified":"2023-11-08T04:07:07.071316Z","published":"2022-12-21T21:30:15Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-10-20T23:01:17Z","nvd_published_at":"2022-12-21T19:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4263"},{"type":"WEB","url":"https://github.com/leanote/leanote/commit/0f9733c890077942150696dcc6d2b1482b7a0a19"},{"type":"PACKAGE","url":"https://github.com/leanote/leanote"},{"type":"WEB","url":"https://vuldb.com/?ctiid.216461"},{"type":"WEB","url":"https://vuldb.com/?id.216461"}],"affected":[{"package":{"name":"github.com/leanote/leanote","ecosystem":"Go","purl":"pkg:golang/github.com/leanote/leanote"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.6.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-6cmv-2548-82v4/GHSA-6cmv-2548-82v4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}