Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/enchant97/note-mark/backend
  4. ›
  5. CVE-2026-40262

CVE-2026-40262: Note Mark has Stored XSS via Unrestricted Asset Upload

April 13, 2026 (updated April 24, 2026)

A stored same-origin XSS vulnerability allows any authenticated user to upload an HTML, SVG, or XHTML file as a note asset and have it executed in a victim’s browser under the application’s origin. Because the application serves these files inline without a safe content type and without nosniff, browsers can sniff and render active content, giving the attacker access to authenticated Note Mark API actions as the victim.

References

  • github.com/advisories/GHSA-9pr4-rf97-79qh
  • github.com/enchant97/note-mark/commit/6bb62842ccb956870b9bf183629eba95e326e5e3
  • github.com/enchant97/note-mark/releases/tag/v0.19.2
  • github.com/enchant97/note-mark/security/advisories/GHSA-9pr4-rf97-79qh
  • nvd.nist.gov/vuln/detail/CVE-2026-40262

Code Behaviors & Features

Detect and mitigate CVE-2026-40262 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.0-20260411145018-6bb62842ccb9

Fixed versions

  • 0.0.0-20260411145018-6bb62842ccb9

Solution

Upgrade to version 0.0.0-20260411145018-6bb62842ccb9 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/enchant97/note-mark/backend/CVE-2026-40262.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:20 +0000.