CVE-2023-41592 Froala Editor Cross-site Scripting vulnerability

Medium 5.4 Published Updated

An XSS vulnerability in Froala Editor allows attackers to inject malicious scripts, potentially leading to code execution in user browsers.

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
Available

What is CVE-2023-41592?

CVE-2023-41592 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 Sep 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Froala Editor v4.0.1 to v4.1.1 was discovered to contain a cross-site scripting (XSS) vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2023-41592?

4 open source packages ship an affected version, including froala/wysiwyg-editor and froala-editor. It affects 1 product.

PackageAffectedFixed in
froala/wysiwyg-editor PackagistFrom 4.0.14.1.4
froala/wysiwyg-editor PackagistFrom 4.0.14.1.4
froala-editor npmFrom 4.0.14.1.4
froala-editor npmFrom 4.0.14.1.4

Products include Froala Froala Editor.

How do I fix CVE-2023-41592?

Upgrade froala/wysiwyg-editor to 4.1.4 or later.

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-41592 being exploited?

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

Sources

Also known as GHSA-hvpq-7vcc-5hj5.

Is CVE-2023-41592 in your software?

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

Check your SBOMs for free