CVE-2026-40262 json
Note Mark has Stored XSS via Unrestricted Asset Upload
published 2026-04-13 6 mo ago modified 2026-10-26 13 d ago also GHSA-9pr4-rf97-79qh , GO-2026-5295 , EUVD-2026-23332
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
Note Mark is an open-source note-taking application. In versions 0.19.1 and prior, the asset delivery handler serves uploaded files inline and relies on magic-byte detection for content type, which does not identify text-based formats such as HTML, SVG, or XHTML. These files are served with an empty Content-Type, no X-Content-Type-Options: nosniff header, and inline disposition, allowing browsers to sniff and render active content. An authenticated user can upload an HTML or SVG file containing JavaScript as a note asset, and when a victim navigates to the asset URL, the script executes under the application's origin with access to the victim's authenticated session and API actions. This issue has been fixed in version 0.19.2.
Patch / fix
- go github.com/enchant97/note-mark/backend 0.0.0-20260411145018-6bb62842ccb9
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/enchant97/note-mark/backend | <0.0.0-20260411145018-6bb62842ccb9 |
0.0.0-20260411145018-6bb62842ccb9 |
Affected products
- enchant97 note-mark
Classification
References
-
github.com
/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e326e5e3
web
-
github.com
/enchant97/note-mark/security/advisories/GHSA-9pr4-rf97-79qh
web, advisory
-
github.com
/enchant97/note-mark/releases/tag/v0.19.2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-40262
advisory
-
github.com
/enchant97/note-mark
package
Sources
- CVE List CVE-2026-40262
- GitHub Advisory GHSA-9pr4-rf97-79qh
- NVD CVE-2026-40262
- OSV GO-2026-5295
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.