CVE-2021-27524 Margox Braft-Editor Cross-site Scripting Vulnerability

Medium 6.1 Published Updated

Remote attackers can execute arbitrary code via the embed media feature in the braft-editor library.

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-27524?

CVE-2021-27524 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Aug 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

Cross Site Scripting (XSS) vulnerability in margox braft-editor version 2.3.8, allows remote attackers to execute arbitrary code via the embed media feature.

Weakness: CWE-79

Which versions are affected by CVE-2021-27524?

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

PackageAffectedFixed in
braft-editor npmAll versions to 2.3.8None
braft-editor npmAll versions to 2.3.8None

Products include Margox Braft-Editor.

How do I fix CVE-2021-27524?

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

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

Sources

Also known as GHSA-jfrf-vv54-j2jg.

Is CVE-2021-27524 in your software?

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

Check your SBOMs for free