CVE-2024-41374: ICEcoder Cross Site Scripting Vulnerability

icecoder/icecoder Updated 02 Oct 2025

Summary

26/07/2024
No i
High
6.1

CVE-2024-41374: ICEcoder vulnerable to Cross Site Scripting. Affects icecoder/icecoder versions < 8.1. 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

ICEcoder is an open-source web-based code editor that allows developers to write and edit code directly in the browser. It provides a user-friendly interface with features like syntax highlighting, code folding, and file management. The vulnerability in ICEcoder version 8.1 allows for Cross Site Scripting (XSS) attacks through the 'lib/settings-screen.php' file.

Vulnerability Detail

The Cross Site Scripting (XSS) vulnerability in ICEcoder version 8.1 arises from inadequate input sanitization in the 'lib/settings-screen.php' file. This allows an attacker to inject malicious scripts into the application, which can then be executed in the context of other users' browsers. The impact of this vulnerability can range from stealing sensitive information, such as login credentials, to performing actions on behalf of the user without their consent.

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 in the 'lib/settings-screen.php' file to mitigate the risk of XSS attacks. Here is an example of how to sanitize user input using PHP's 'htmlspecialchars' function:

$input = $_POST['input'];
$sanitizedInput = htmlspecialchars($input);
// Use the sanitized input in your code

However, it is strongly recommended to apply the official patch or upgrade to a fixed version rather than relying on workarounds.

Conclusion

The Cross Site Scripting (XSS) vulnerability in ICEcoder version 8.1 exposes users to the risk of malicious script injection. To mitigate this vulnerability, it is essential to update to a fixed version of ICEcoder and implement proper input validation and output encoding. Applying these measures will help protect users' sensitive information and prevent unauthorized actions.

See every vulnerability recorded for icecoder/icecoder →

Share this vulnerability

FAQ

ICEcoder is an open-source web-based code editor that allows developers to write and edit code directly in the browser. It provides a user-friendly interface with features like syntax highlighting, code folding, and file management.

Cross Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to the theft of sensitive information or the execution of unauthorized actions.

The XSS vulnerability in ICEcoder version 8.1 is caused by inadequate input sanitization in the 'lib/settings-screen.php' file. This allows an attacker to inject malicious scripts into the application, which can then be executed in the context of other users' browsers.

The ICEcoder XSS vulnerability can have severe consequences, including the theft of sensitive information, such as login credentials, and the ability to perform unauthorized actions on behalf of users.

To fix the ICEcoder XSS vulnerability, it is recommended to update to a version of ICEcoder that includes a patch for the vulnerability. Additionally, implementing proper input validation and output encoding is crucial to prevent XSS attacks in the future.

Related vulnerabilities

Recent vulnerabilities recorded for icecoder/icecoder.

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