CVE-2019-1010091 XSS in TinyMCE

Medium 6.1 Published Updated

An attacker can execute arbitrary JavaScript by tricking a victim into pasting malicious content into the media element embed tab of the TinyMCE editor.

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
Available

What is CVE-2019-1010091?

CVE-2019-1010091 is a medium-severity cross-site scripting vulnerability in tinymce, published on 17 Jul 2019. 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

tinymce 4.7.11, 4.7.12 is affected by: CWE-79: Improper Neutralization of Input During Web Page Generation. The impact is: JavaScript code execution. The component is: Media element. The attack vector is: The victim must paste malicious content to media element's embed tab.

Weakness: CWE-79

Which versions are affected by CVE-2019-1010091?

4 open source packages ship an affected version, including tinymce. It affects 1 product.

PackageAffectedFixed in
tinymce npmAll versions4.9.10
tinymce npmAll versions4.9.10
tinymce npmFrom 5.0.05.2.2
tinymce npmFrom 5.0.05.2.2

Products include Tiny Tinymce.

How do I fix CVE-2019-1010091?

Upgrade tinymce to a fixed version for your release line: 4.9.10 or 5.2.2.

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-2019-1010091 being exploited?

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

Sources

Also known as GHSA-c78w-2gw7-gjv3, UBUNTU-CVE-2019-1010091.

Is CVE-2019-1010091 in your software?

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

Check your SBOMs for free