CVE-2024-45962 October allows an admin account to upload PDF containing malicious JavaScript
An authenticated admin can upload malicious PDFs leading to XSS or arbitrary code execution when accessed via the website.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-45962?
CVE-2024-45962 is a medium-severity cross-site scripting vulnerability in Octobercms October, published on 2 Oct 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
October 3.6.30 allows an authenticated admin account to upload a PDF file containing malicious JavaScript into the target system. If the file is accessed through the website, it could lead to a Cross-Site Scripting (XSS) attack or execute arbitrary code via a crafted JavaScript to the target.
Weakness: CWE-79
Which versions are affected by CVE-2024-45962?
2 open source packages ship an affected version, including october/october. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
october/october Packagist | All versions to 3.6.4 | None |
october/october Packagist | All versions to 3.6.4 | None |
Products include Octobercms October.
How do I fix CVE-2024-45962?
No fix has been published for CVE-2024-45962 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-45962 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-45962 exists.
Other vulnerabilities in Octobercms October
Sources
Also known as GHSA-hxpp-g76m-qhvg.