XSS Vulnerability in SPIP Package: Risk of File Upload Exploitation

spip Updated 02 Oct 2025

Summary

19/01/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-23659: SPIP before 4.1.14 and 4.2.x before 4.2.8 allows XSS via the name of an uploaded file. This is related to javascript/bigup.js and javascript/bigup.utils.js. Affects spip versions < 4.1.15+dfsg-1. Fixed in 4.1.15+dfsg-1. 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

SPIP is an open-source content management system (CMS) designed for publishing web content. It is widely used for creating and managing websites, offering features such as article management, user permissions, and customizable templates. However, certain versions of SPIP are vulnerable to cross-site scripting (XSS) attacks, particularly through the handling of uploaded files, which can lead to unauthorized script execution in the user's browser.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2024-23659 affects SPIP versions prior to 4.1.14 and 4.2.x before 4.2.8. It allows attackers to exploit the name of an uploaded file to inject malicious scripts. This XSS vulnerability can lead to various security issues, including data theft, session hijacking, and unauthorized actions performed on behalf of the user. The issue is linked to the JavaScript files 'bigup.js' and 'bigup.utils.js', which handle file uploads without proper sanitization.

How To Fix

Minimum fixed version

4.1.15+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade spip

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

Workaround

As a temporary workaround, avoid allowing users to upload files with potentially dangerous names or extensions. Implement strict validation on file uploads to ensure that only safe file types are accepted.

Conclusion

The XSS vulnerability in SPIP poses significant risks to users and their data. It is crucial to update to the latest version to mitigate these risks and ensure the security of web applications using SPIP.

See every vulnerability recorded for spip →

Share this vulnerability

FAQ

The vulnerability allows for cross-site scripting (XSS) attacks through the name of uploaded files, which can lead to unauthorized script execution.

SPIP versions before 4.1.14 and 4.2.x before 4.2.8 are vulnerable to this issue.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Update your SPIP package to the latest patched version and implement strict validation for file uploads.

Exploitation of this vulnerability can lead to data theft, session hijacking, and unauthorized actions performed in the context of the user.

Related vulnerabilities

Recent vulnerabilities recorded for spip.

How To Fix

Minimum fixed version

4.1.15+dfsg-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade spip

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