CVE-2024-41662 VNote vulnerable to Markdown XSS, which leads to RCE

High 8.6 Published Updated

Attackers can inject JavaScript via Markdown to achieve remote code execution in the VNote desktop application.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-41662?

CVE-2024-41662 is a high-severity cross-site scripting vulnerability in vnotex vnote, published on 24 Jul 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

VNote is a note-taking platform. A Cross-Site Scripting (XSS) vulnerability has been identified in the Markdown rendering functionality of versions 3.18.1 and prior of the VNote note-taking application. This vulnerability allows the injection and execution of arbitrary JavaScript code through which remote code execution can be achieved. A patch for this issue is available at commit f1af78573a0ef51d6ef6a0bc4080cddc8f30a545. Other mitigation strategies include implementing rigorous input sanitization for all Markdown content and utilizing a secure Markdown parser that appropriately escapes or strips potentially dangerous content.

Weakness: CWE-79

Which versions are affected by CVE-2024-41662?

It affects 1 product.

Products include Vnote Project Vnote.

How do I fix CVE-2024-41662?

No fix has been published for CVE-2024-41662 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-41662 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41662 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-w655-h68w-vxxc.

Is CVE-2024-41662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free