CVE-2023-30792 Cross-site scripting in Lexical
An attacker can execute arbitrary JavaScript via crafted links in the Lexical text editor, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-30792?
CVE-2023-30792 is a medium-severity cross-site scripting vulnerability in Meta Platforms, Inc Lexical, published on 29 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Anchor tag hrefs in Lexical prior to v0.10.0 would render javascript: URLs, allowing for cross-site scripting on link clicks in cases where input was being parsed from untrusted sources.
Weakness: CWE-79
Which versions are affected by CVE-2023-30792?
It affects 1 product.
Products include Facebook Lexical.
How do I fix CVE-2023-30792?
No fix has been published for CVE-2023-30792 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-2023-30792 being exploited?
There is no known exploitation of CVE-2023-30792 in the wild and no public exploit code.
Sources
Also known as GHSA-6m63-xcvc-h2vg.