CVE-2024-45962: October Package Vulnerability Allows Malicious PDF Uploads

october/october Updated 02 Oct 2025

Summary

02/10/2024
No i
Low
4.8

CVE-2024-45962: October allows an admin account to upload PDF containing malicious JavaScript. Affects october/october versions < 3.6.4. 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

October is an open-source content management system (CMS) built on the Laravel framework, designed for developers to create and manage websites easily. It offers a range of features including a modular architecture, customizable themes, and a user-friendly interface. However, version 3.6.30 has a vulnerability that allows authenticated admin accounts to upload PDF files containing malicious JavaScript, posing a significant security risk.

Vulnerability Detail

The vulnerability arises from the improper handling of file uploads in October version 3.6.30. An authenticated admin can upload a PDF file that includes malicious JavaScript code. If this file is accessed through the website, it can lead to Cross-Site Scripting (XSS) attacks or allow the execution of arbitrary code, potentially compromising the entire system. This vulnerability is classified under CWE-434 (Unrestricted File Upload) and CWE-79 (Improper Neutralization of Input During Web Page Generation), with a CVSS score of 4.8 indicating a low severity.

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, restrict file uploads to only allow specific file types that do not include PDF uploads. You can implement this by modifying the file upload validation rules in your October CMS configuration. For example, you can add the following code to your upload handling logic: if (!

in_array($file->getClientOriginalExtension(), ['jpg', 'png', 'gif'])) { return response()->json(['error' => 'Invalid file type.']);

}

Conclusion

In summary, CVE-2024-45962 is a critical vulnerability in the October CMS that allows the upload of malicious PDF files by authenticated admin users. It is essential to update to the latest version to mitigate this risk and consider implementing temporary workarounds to restrict file uploads until the update is applied.

See every vulnerability recorded for october/october →

Share this vulnerability

FAQ

CVE-2024-45962 is a vulnerability in the October CMS that allows authenticated admin users to upload malicious PDF files containing JavaScript.

If you are using October version 3.6.30 or earlier, your installation is vulnerable. You can check your version in the admin dashboard or by inspecting the composer.lock file.

The risks include potential XSS attacks and the execution of arbitrary code, which can lead to data breaches or full system compromise.

Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software. It requires only the composer.lock file for analysis.

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

Related vulnerabilities

Recent vulnerabilities recorded for october/october.

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