CVE-2022-25224 Cross-site scripting in Proton
Attackers can execute arbitrary code via XSS in Proton due to enabled nodeIntegration, requiring user interaction with a malicious link.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-25224?
CVE-2022-25224 is a medium-severity cross-site scripting vulnerability in Proton, published on 20 May 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Proton v0.2.0 allows an attacker to create a malicious link inside a markdown file. When the victim clicks the link, the application opens the site in the current frame allowing an attacker to host JavaScript code in the malicious link in order to trigger an XSS attack. The 'nodeIntegration' configuration is set to on which allows the 'webpage' to use 'NodeJs' features, an attacker can leverage this to run OS commands.
Weakness: CWE-79
Which versions are affected by CVE-2022-25224?
It affects 1 product.
Products include Proton Project Proton.
How do I fix CVE-2022-25224?
No fix has been published for CVE-2022-25224 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-2022-25224 being exploited?
There is no known exploitation of CVE-2022-25224 in the wild and no public exploit code.
Sources
Also known as GHSA-ghm3-x9vf-px32.