CVE-2024-42640angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this…
- 9.8CriticalCVSS base score
- 40.2%Exploitation in 30 daysEPSS · top 1.3% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via demo/server.php. Exploiting this vulnerability allows an attacker to upload arbitrary content to the server, which can subsequently be accessed through demo/uploads. This leads to the execution of previously uploaded content and enables the attacker to achieve code execution on the server. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template and 2 Exploit-DB entries for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits3
Nuclei templates1 template
- Angular-Base64-Upload - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2024/CVE-2024-42640.yamlSeverity critical
Exploit-DB2 entries
- Angular-Base64-Upload Library 0.1.21 - Unauthenticated Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 52253webapps, multiplepublished 17 Apr 2025Not verified
- Angular-Base64-Upload Library 0.1.20 - Remote Code Execution (RCE) (Exploit-DB entry) (opens in a new tab)
EDB-ID 52121remote, multiplepublished 4 Apr 2025Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 2 months later
· 2 months later
Published
- 4 days later
· 4 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 40.2% · top 1.3% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmangular-base64-uploadGHSA-vgxq-6rcf-qwrw (opens in a new tab)
References
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-3143 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-vgxq-6rcf-qwrw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-42640)Record last updated .