VDB
Sign up
MEDIUM6.1

GHSA-8v67-x8q5-3x3g

Cross-Site Scripting in simditor

Quick fix

GHSA-8v67-x8q5-3x3g — simditor: upgrade to the fixed version with the command below.

npm install simditor@2.3.22

Details

Versions of `simditor` prior to 2.3.22 are vulnerable to Cross-Site Scripting. The package does not sanitize user input that is rendered with `innerHTML`, allowing attackers to execute arbitrary JavaScript.

## Recommendation

Upgrade to version 2.3.22 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/simditor
Introduced in: 0Fixed in: 2.3.22
Fixnpm install simditor@2.3.22

References