CVE-2018-6464: Simditor XSS Vulnerability

simditor Updated 02 Oct 2025

Summary

13/05/2022
No i
Moderate
6.1

CVE-2018-6464: Simditor XSS Vulnerability. Affects simditor versions < 2.3.11. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Simditor is an npm package that provides a simple yet powerful WYSIWYG editor for web applications. It allows users to easily create and edit rich text content. However, Simditor versions up to 2.3.11 are vulnerable to a cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability in Simditor v2.3.11 arises from a lack of proper input sanitization. An attacker can exploit this vulnerability by injecting malicious code, such as svg/onload=alert, into a TEXTAREA element. This can lead to the execution of arbitrary JavaScript code in the context of the user's browser, potentially compromising the confidentiality and integrity of user data. The vulnerability has been demonstrated in Firefox 54.0.1.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can manually sanitize user input before rendering it in the Simditor editor. This can be done by using a library or framework that provides input sanitization functions, such as DOMPurify. By sanitizing user input, the risk of XSS attacks can be mitigated.

Conclusion

Simditor v2.3.11 is vulnerable to a cross-site scripting (XSS) attack. It is crucial to upgrade to a patched version of Simditor to mitigate the risk of exploitation. Developers should also consider implementing input sanitization measures to further protect their applications. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for simditor →

Share this vulnerability

FAQ

Simditor is an npm package that provides a WYSIWYG editor for web applications, allowing users to create and edit rich text content.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The XSS vulnerability in Simditor allows an attacker to inject malicious code, such as JavaScript, into a TEXTAREA element, which is then executed in the context of the user's browser.

Exploiting this vulnerability can lead to the execution of arbitrary JavaScript code in the user's browser, potentially compromising the confidentiality and integrity of user data.

To protect your application, it is recommended to upgrade to a patched version of Simditor that addresses the XSS vulnerability. Additionally, implementing input sanitization measures can help mitigate the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for simditor.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback