Medium
Security advisory
A cross-site scripting (XSS) vulnerability exists in Znote 0.5.2. An attacker can insert payloads, and the code execution will happen immediately on markdown view mode.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-26834
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:42 UTC · Revision 1
Source evidence
A cross-site scripting (XSS) vulnerability exists in Znote 0.5.2. An attacker can insert payloads, and the code execution will happen immediately on markdown view mode.
osv:CVE-2021-26834
Complete source record
{
"id": "22394ef65285442ef60ab50d59a982747a734e2c0331cf539ad19d457f007f57",
"url": "https://osv.dev/vulnerability/CVE-2021-26834",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-26834",
"summary": "A cross-site scripting (XSS) vulnerability exists in Znote 0.5.2. An attacker can insert payloads, and the code execution will happen immediately on markdown view mode.",
"evidence": "osv:CVE-2021-26834",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-26834",
"aliases": [
"CVE-2021-26834"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/alagrede/znote-app",
"type": "GIT",
"events": [
{
"introduced": "954868380f58c2441c96804b1db375cf20b3d9dc"
},
{
"last_affected": "954868380f58c2441c96804b1db375cf20b3d9dc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:znote:znote:0.5.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.5.2"
},
{
"last_affected": "0.5.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.5.2",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.2",
"v1.3.1",
"v1.2.0",
"v1.1.9",
"v0.6.5",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.3",
"v0.5.2",
"v0.5.0",
"v0.4.1",
"v0.4.0",
"v0.3.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26834.json"
}
}
],
"modified": "2026-10-20T10:54:34.851944357Z",
"provider": "osv",
"references": [
"https://www.electronjs.org/apps/znote",
"https://github.com/alagrede/znote-app/issues/5"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-26834",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385647,
"published_at": "2021-06-18T12:15:08.007+00:00"
}