---
title: "CVE-2024-42640: angular-base64-upload vulnerable to unauthenticated remote code execution"
url: https://erroneo.us/security/cve/CVE-2024-42640/
description: "CVE-2024-42640 (angular-base64-upload (npm)): angular-base64-upload prior to v0.1.21 is vulnerable to unauthenticated remote code execution via…"
type: vulnerability-record
section: "Security Digest"
date_published: 2024-10-11
date_modified: 2024-10-15
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2024-42640"
kev: false
cvss: 9.3
epss: 0.39951
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2024-42640: angular-base64-upload vulnerable to unauthenticated remote code execution

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 40.0% , percentile 99: FIRST’s model estimates a 40.0% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes angular-base64-upload (npm) < 0.1.21, fixed in 0.1.21 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- npm `angular-base64-upload` < 0.1.21 → fixed: 0.1.21

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 39.95% probability of exploitation activity in the next 30 days; percentile 99.

## Sources

- [GitHub Advisory GHSA-vgxq-6rcf-qwrw](https://github.com/advisories/GHSA-vgxq-6rcf-qwrw)
- [CVE.org record CVE-2024-42640](https://www.cve.org/CVERecord?id=CVE-2024-42640)
- [NVD entry CVE-2024-42640](https://nvd.nist.gov/vuln/detail/CVE-2024-42640)
- [github.com](https://github.com/adonespitogo/angular-base64-upload)
- [zyenra.com](https://www.zyenra.com/blog/unauthenticated-rce-in-angular-base64-upload.html)
- [github.com](https://github.com/rvizx/CVE-2024-42640)

---
Source page: https://erroneo.us/security/cve/CVE-2024-42640/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
