Skip to main content
VulnerabilityPublished Updated

CVE-2026-40262: enchant97 note-mark · Cross-site Scripting

Affects enchant97 note-markSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 0.19.2 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.19.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade note-mark and enchant97/note-mark to 0.19.2.

Affected software

ProductAffectedFixed in
enchant97note-markAffected
  • <0.19.2
Fixed in
  • 0.19.2
GitHubenchant97/note-markpkg:github/enchant97/note-markOther threatsAffected
  • <0.19.2
Fixed in
  • 0.19.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Note Mark to version 0.19.2 or later, where this vulnerability is fixed. The fix addresses proper content-type handling and adds the X-Content-Type-Options: nosniff header to prevent browsers from executing malicious content. No other mitigation is indicated by the vendor advisory.

Description

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.

References

Community reviews

Loading reviews…