Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40262: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in enchant97 note-mark

0
High
VulnerabilityCVE-2026-40262cvecve-2026-40262cwe-79cwe-434
Published: Thu Apr 16 2026 (04/16/2026, 23:51:38 UTC)
Source: CVE Database V5
Vendor/Project: enchant97
Product: note-mark

Description

CVE-2026-40262 is a high-severity cross-site scripting (XSS) vulnerability in enchant97's open-source note-taking application note-mark versions 0. 19. 1 and earlier. The vulnerability arises because the asset delivery handler serves uploaded files inline without properly setting the Content-Type header or the X-Content-Type-Options: nosniff header. This allows browsers to sniff and execute active content such as JavaScript embedded in HTML or SVG files uploaded by authenticated users. When a victim accesses the malicious asset URL, the script executes with the application's origin, potentially exposing the victim's authenticated session and API access. This issue has been fixed in version 0. 19. 2.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/17/2026, 00:16:49 UTC

Technical Analysis

Note-mark versions prior to 0.19.2 have an XSS vulnerability due to improper content type handling in the asset delivery handler. Uploaded files are served inline with empty Content-Type headers and without the X-Content-Type-Options: nosniff header, enabling browsers to interpret and execute active content like JavaScript in HTML or SVG files. An authenticated user can exploit this by uploading a malicious note asset containing script code. When another user visits the asset URL, the script runs in the context of the application, potentially compromising the victim's session and API privileges. The vulnerability is tracked as CVE-2026-40262 with a CVSS 3.1 score of 8.7 (high severity). The issue has been resolved in note-mark version 0.19.2.

Potential Impact

Successful exploitation allows an attacker with authenticated access to upload malicious HTML or SVG files that execute arbitrary JavaScript in the context of the application when accessed by other users. This can lead to theft of authenticated session tokens and unauthorized API actions, compromising user accounts and application integrity. The vulnerability does not affect availability but has high confidentiality and integrity impact.

Mitigation Recommendations

This vulnerability has been fixed in note-mark version 0.19.2. Users and administrators should upgrade to version 0.19.2 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory. Patch status is confirmed by the vendor's release notes indicating the fix in version 0.19.2.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T17:31:45.787Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e1786e82d89c981fe335c0

Added to database: 4/17/2026, 12:01:50 AM

Last enriched: 4/17/2026, 12:16:49 AM

Last updated: 4/17/2026, 1:26:35 AM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses