CVE-2023-47621 is a high-severity (CVSS 8.8) Unrestricted File Upload vulnerability in duncanmcclean/guest-entries. A fix is available for duncanmcclean/guest-entries — see the affected versions and patch details below.
Remote code execution via file uploads in guest-entries
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-47621.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
duncanmcclean/guest-entries🐘doublethreedigital/guest-entriesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | duncanmcclean/guest-entries | all versions | 3.1.2composer require duncanmcclean/guest-entries:^3.1.2 |
| 🐘Packagist | doublethreedigital/guest-entries | all versions | 3.1.2composer require doublethreedigital/guest-entries:^3.1.2 |
Affected Products
guest entriesduncanmccleanDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for duncanmcclean/guest-entries, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update duncanmcclean/guest-entries to 3.1.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-47621 is resolved across your whole dependency graph.
Workarounds
Treat uploaded files as untrusted until proven otherwise: validate the actual content type rather than the supplied extension, store uploads outside the web root on a volume mounted without execute permission, and rename them to server-generated identifiers so an attacker cannot choose the path a request will later resolve.
Frequently Asked Questions
Is CVE-2023-47621 in your dependencies?
Find it across Packagist, including transitive dependencies.