CVE-2021-30109 Cross-site Scripting in Froala Editor

Medium 6.1 Published Updated

Attackers can inject malicious scripts via crafted base64 strings in the hyperlink module, potentially executing code in user browsers.

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-2021-30109?

CVE-2021-30109 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 2021. 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

Froala Editor 3.2.6 is affected by Cross Site Scripting (XSS). Under certain conditions, a base64 crafted string leads to persistent Cross-site scripting (XSS) vulnerability within the hyperlink creation module.

Weakness: CWE-79

Which versions are affected by CVE-2021-30109?

2 open source packages ship an affected version, including froala-editor. It affects 1 product.

PackageAffectedFixed in
froala-editor npmAll versions to 3.2.6None
froala-editor npmAll versions to 3.2.6None

Products include Froala Froala Editor.

How do I fix CVE-2021-30109?

No fix has been published for CVE-2021-30109 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-2021-30109 being exploited?

There is no known exploitation of CVE-2021-30109 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cq6w-w5rj-p9x8.

Is CVE-2021-30109 in your software?

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

Check your SBOMs for free