VYPR
Unrated severityNVD Advisory· Published Jul 5, 2024· Updated Aug 1, 2024

CVE-2024-23997

CVE-2024-23997

Description

Lukas Bach yana <=1.0.16 has a stored XSS vulnerability in src/electron-main.ts allowing arbitrary script execution in the electron context.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Lukas Bach yana <=1.0.16 has a stored XSS vulnerability in src/electron-main.ts allowing arbitrary script execution in the electron context.

Vulnerability

The yana note-taking application by Lukas Bach, versions prior to and including 1.0.16, contains a stored cross-site scripting (XSS) vulnerability in the file src/electron-main.ts. This allows an attacker to inject arbitrary JavaScript code that executes in the context of the Electron main process. The vulnerability is accessible without any special permissions or configurations beyond standard usage of the application.

Exploitation

An attacker can exploit this vulnerability by crafting a specially crafted note or task that includes malicious JavaScript. When the victim opens the crafted note within yana, the injected script executes. The attacker does not require any network position or authentication; the victim only needs to be running a vulnerable version of yana and view the attacker's content. The public proof-of-concept [1] demonstrates the exploitation steps.

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the Electron main process, which has full access to Node.js APIs. This can lead to complete compromise of the user's system, including data exfiltration, file access, and installation of malware. The impact is severe as the attacker can bypass typical web sandbox restrictions.

Mitigation

As of the publication date, no patched version has been released. Users should consider removing the application or disabling untrusted content. The only mitigation is to avoid using yana until a fix is issued. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Lukas Bach/yanacpe-rescue2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)range: <=1.0.16

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

1

News mentions

0

No linked articles in our index yet.