> CVE-2026-40262 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-17 01:17
MODIFIED
2026-04-17 01:17
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
0.42%
Top 65.1%
DATA SOURCES:
NVD 🔗 2026-04-17 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-09-20

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
EXPLOITABILITY
2.3
IMPACT
5.8

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-79 CWE-434

> CWE DETAILED DESCRIPTIONS

CWE-79: Improper Neutralization of Input During Web Page Generation - The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. | CWE-434: Unrestricted Upload of File with Dangerous Type - The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

> GITHUB SECURITY ADVISORY

GHSA-9pr4-rf97-79qh HIGH

Note Mark has Stored XSS via Unrestricted Asset Upload

AFFECTED PACKAGES:
GO / github.com/enchant97/note-mark/backend
< 0.0.0-20260411145018-6bb62842ccb9
Fixed in: 0.0.0-20260411145018-6bb62842ccb9

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Note Mark has Stored XSS via Unrestricted Asset Upload

AFFECTED PACKAGES:
Unknown / Unknown
32 versions affected
ALIASES:
GHSA-9pr4-rf97-79qh, GO-2026-5295

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/04/2026 01:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') - The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in...
Nouvelle valeur:
CWE-79: Improper Neutralization of Input During Web Page Generation - The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a...
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') - The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in...
Total des modifications: 2 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e3...
https://github.com/enchant97/note-mark/releases/tag/v0.19.2
https://github.com/enchant97/note-mark/security/advisories/GHSA-9pr4-rf97-79qh
« BACK_TO_HOME