# CVE-2024-29272: VvvebJs arbitrary file upload in save.php

Source: https://junglewise.ai/threats/cve-2024-29272-vvvebjs-arbitrary-file-upload-in-save-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-22. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2024-29272 · Severity: low · CVSS 3.1 · Published 2024-03-22

VvvebJs is a web-based visual page builder and content management tool. The vulnerability allows unauthenticated attackers to upload malicious files (such as PHP web shells) to the server by bypassing filename validation checks, potentially leading to arbitrary code execution and unauthorized access to sensitive data.

Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2024-29272 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-29272 being exploited in the wild.

**How severe is CVE-2024-29272?** Low severity, with a CVSS score of 3.1, published 22 March 2024.

**Which products and versions are affected?** vvvebJs (npm) SEMVER:introduced=0,fixed=1.7.5.

**Is there a fix for CVE-2024-29272?** Yes. vvvebJs (npm): upgrade to 1.7.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2024-29272 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2024-29272?** Check whether you run vvvebJs (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- vvvebJs (npm): upgrade to 1.7.5 or later

  ```sh
  npm install vvvebJs@1.7.5
  ```


## Technical details

The vulnerability is a CWE-434 arbitrary file upload flaw in the save.php endpoint of VvvebJs before version 1.7.5. The sanitizeFileName() function is intended to restrict file extensions to .html and remove unsafe characters, but it fails to properly validate user input provided via the $_POST['file'] parameter. An unauthenticated attacker can craft a POST request with a malicious filename (e.g., containing directory traversal or polyglot PHP code) to bypass extension checks and upload executable files like PHP web shells to the server. No authentication is required, and the attack is exploitable directly over the network. Successful exploitation enables remote code execution under the webserver's privilege context, potentially leading to data exfiltration, privilege escalation, or further compromise of the hosting infrastructure. The vulnerability was patched in version 1.7.5.

## Affected products

- VvvebJs VvvebJs before 1.7.5

## Identifiers

- CVE-2024-29272
- GHSA-pmm3-68q9-57jg

## Timeline

- 2024-03-22: disclosed: Published in GitHub Security Advisory GHSA-pmm3-68q9-57jg
- 2024-03-22: patched: Fix released in version 1.7.5

## References

- [https://github.com/givanz/VvvebJs/issues/343](https://github.com/givanz/VvvebJs/issues/343)

## Related threats

- [VvvebJs reflected XSS in save.php action parameter](https://junglewise.ai/threats/cve-2024-29271-vvvebjs-reflected-xss-in-save-php-action-parameter)
