CVE-2024-48228: Funadmin 5.0.2 Cross-site Scripting Vulnerability

funadmin/funadmin Updated 02 Oct 2025

Summary

26/10/2024
No i
Low
6.1

CVE-2024-48228: Funadmin Cross-site Scripting vulnerability. Affects funadmin/funadmin versions < 5.0.2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Funadmin is a web-based administration tool designed for managing various aspects of web applications. It provides functionalities such as file management, user management, and system configuration. The tool is widely used due to its ease of use and flexibility. However, version 5.0.2 has been identified to have a critical security flaw that exposes users to Cross-site Scripting (XSS) attacks, which can lead to unauthorized actions and data exposure.

Vulnerability Detail

The vulnerability arises from the selectfiles method in the Attachh.php file located in the backend controller of Funadmin. This method directly stores user-supplied parameters without proper filtering or sanitization, allowing attackers to inject malicious scripts. If exploited, this vulnerability can lead to session hijacking, defacement of web pages, or the execution of arbitrary scripts in the context of the user's browser, potentially compromising sensitive information.

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, you can implement input validation and output encoding in the selectfiles method to sanitize user inputs. For example, you can use PHP's htmlspecialchars function to encode special characters before storing them. Here’s a sample code snippet:

$param = htmlspecialchars($_POST['param'], ENT_QUOTES, 'UTF-8');
// Proceed with using $param safely

Conclusion

The Funadmin 5.0.2 Cross-site Scripting vulnerability (CVE-2024-48228) poses a significant risk to users of the application. It is crucial to update to the latest version to protect against potential exploits. Additionally, utilizing tools like Vulert can help monitor and alert for vulnerabilities in real-time.

See every vulnerability recorded for funadmin/funadmin →

Share this vulnerability

FAQ

XSS is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. It can lead to data theft, session hijacking, and other malicious activities.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to analyze your composer.lock file.

If exploited, this vulnerability can allow attackers to execute arbitrary scripts in the context of the user's browser, leading to data theft, unauthorized actions, and compromised user accounts.

Yes, updating to the latest version of Funadmin will patch this vulnerability. Ensure you run 'composer update funadmin/funadmin' to get the fixed version.

If an immediate update is not possible, implement input validation and output encoding as a temporary workaround to mitigate the risk of XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for funadmin/funadmin.

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