CVE-2024-28635: Cross-site scripting in Survey Creator

survey-creator Updated 02 Oct 2025

Summary

21/03/2024
Yes i
Moderate
Not published

CVE-2024-28635: Cross-site scripting in Survey Creator. Affects survey-creator versions < 1.9.133. Fixed in 1.9.133. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

SurveyJS Survey Creator is an npm package that provides a user-friendly interface for creating surveys. It allows users to design and customize surveys by providing various question types, themes, and options. The package is widely used by developers to integrate survey creation functionality into their applications. However, versions 1.9.132 and earlier of SurveyJS Survey Creator are vulnerable to a Cross-Site Scripting (XSS) attack.

Vulnerability Detail

The vulnerability (CVE-2024-28635) in SurveyJS Survey Creator allows attackers to execute arbitrary code and obtain sensitive information by exploiting a Cross-Site Scripting (XSS) vulnerability. This vulnerability arises from improper input sanitization of the 'title' parameter in a form. An attacker can inject malicious code into the 'title' parameter, which is then executed when the form is rendered in a user's browser. This can lead to the theft of sensitive information, session hijacking, or the execution of arbitrary actions on behalf of the user.

How To Fix

Latest published version: 1.12.67 as of 23 Oct 2026

npm install survey-creator@1.12.67

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.133

This is the first release that contains the fix.

npm install survey-creator@1.9.133

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately possible, developers can implement a temporary workaround by manually sanitizing the 'title' parameter before rendering it in the form. This can be done by using a library or function that escapes or removes any potentially malicious code from the input. Here's an example of how to sanitize the 'title' parameter using the 'xss' library:

const xss = require('xss');
const sanitizedTitle = xss(title);

By applying this workaround, the risk of XSS attacks can be mitigated until the package is updated.

Conclusion

The Cross-Site Scripting (XSS) vulnerability in SurveyJS Survey Creator (CVE-2024-28635) poses a risk to applications using versions 1.9.132 and earlier. It allows attackers to execute arbitrary code and obtain sensitive information. To mitigate this vulnerability, developers should upgrade to version 1.9.133 or later of the package. If immediate upgrading is not possible, applying a temporary workaround by sanitizing the 'title' parameter can help reduce the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for survey-creator →

Share this vulnerability

FAQ

This vulnerability allows attackers to execute arbitrary code and obtain sensitive information. It can lead to the theft of user data, session hijacking, or the execution of unauthorized actions on behalf of the user.

Developers using SurveyJS Survey Creator versions 1.9.132 and earlier are affected by this vulnerability.

At the time of this advisory, there are no known public exploits specifically targeting this vulnerability. However, it is important to promptly update the package to prevent any potential exploitation.

Yes, the vulnerability has been fixed in version 1.9.133 of the SurveyJS Survey Creator package.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the package-lock.json file.

How To Fix

Latest published version: 1.12.67 as of 23 Oct 2026

npm install survey-creator@1.12.67

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.133

This is the first release that contains the fix.

npm install survey-creator@1.9.133

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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