CVE-2023-50461 — direct-mail
HIGHCVE-2023-50461 is a high-severity (CVSS 8.8) CWE-863 vulnerability in directmailteam/direct-mail. A fix is available for directmailteam/direct-mail — see the affected versions and patch details below.
Configuration Injection in extension "Direct Mail" (direct_mail)
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-50461.
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
directmailteam/direct-mail🐘directmailteam/direct-mail🐘directmailteam/direct-mailReal-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
An issue was discovered in the direct_mail (aka Direct Mail) extension through 9.5.1 for TYPO3. The Configuration backend module of the extension allows an authenticated user to write to an arbitrary TSConfig page for folders configured as Direct Mail. Exploiting this may lead to Configuration Injection (TYPO3 10.4 and above) and to Arbitrary Code Execution (TYPO3 9.5 and below). A valid backend user account, with access to the Direct Mail Configuration backend module, is needed to exploit this.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | directmailteam/direct-mail | ≥ 8.0.0&&< 9.5.2 | 9.5.2composer require directmailteam/direct-mail:^9.5.2 |
| 🐘Packagist | directmailteam/direct-mail | ≥ 7.0.0&&< 7.0.3 | 7.0.3composer require directmailteam/direct-mail:^7.0.3 |
| 🐘Packagist | directmailteam/direct-mail | all versions | 6.0.3composer require directmailteam/direct-mail:^6.0.3 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for directmailteam/direct-mail, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update directmailteam/direct-mail to 9.5.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-50461 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2023-50461 in your dependencies?
Find it across Packagist, including transitive dependencies.