{"answers":{"affected":"2 open source packages ship an affected version, including phpmailer/phpmailer. It affects 3 products.","exploited":"Yes. Attackers have exploited CVE-2016-10033 in the wild since at least 7 Jul 2025.","fix":"Upgrade phpmailer/phpmailer to 5.2.18 or later. US federal agencies must fix it by 28 Jul 2025.","what":"CVE-2016-10033 is a critical command injection vulnerability in Joomla Joomla\\!, published on 30 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-10033 and fix it if it is affected.\n\nWhat it is: CVE-2016-10033 is a critical command injection vulnerability in Joomla Joomla\\!, published on 30 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2016-10033 in the wild since at least 7 Jul 2025.\n\nAffected packages and fixed versions:\n- phpmailer/phpmailer (Packagist): affected from 5.0.0; fixed in 5.2.18\n- phpmailer/phpmailer (Packagist): affected from 5.0.0; fixed in 5.2.18\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2016-10033/ (Markdown: https://insights.sbomify.com/CVE-2016-10033/index.md)","id":"CVE-2016-10033","markdown":"https://insights.sbomify.com/CVE-2016-10033/index.md","name":"CVE-2016-10033","record":{"aliases":["ALPINE-CVE-2016-10033","CVE-2016-1003","DEBIAN-CVE-2016-10033","DLA-770-1","DSA-3750-1","GHSA-5f37-gxvh-23v6","UBUNTU-CVE-2016-10033"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHPMailer library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by injecting parameters into the mail command via a crafted Sender property in PHPMailer.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"joomla\\!","vendor":"joomla"},{"product":"phpmailer","vendor":"phpmailer_project"},{"product":"wordpress","vendor":"wordpress"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \\\" (backslash double quote) in a crafted Sender property.","ecosystems":["Packagist"],"exploits":{"exploitdb":9,"first_seen":"2016-12-25","github_poc":17,"max_poc_stars":409,"metasploit":2,"nuclei":1,"refs":[{"date":"2016-12-26T13:39:03Z","kind":"github_poc","ref":"https://github.com/opsxcq/exploit-CVE-2016-10033","stars":409,"title":"PHPMailer \u003c 5.2.18 Remote Code Execution exploit and vulnerable container"},{"date":"2017-05-10T03:18:46Z","kind":"github_poc","ref":"https://github.com/GeneralTesler/CVE-2016-10033","stars":9,"title":"RCE against WordPress 4.6; Python port of https://exploitbox.io/vuln/WordPress-Exploit-4-6-RCE-CODE-EXEC-CVE-2016-10033.html"},{"date":"2016-12-29T08:29:20Z","kind":"github_poc","ref":"https://github.com/Zenexer/safeshell","stars":8,"title":"Prevent PHP vulnerabilities similar to CVE-2016-10033 and CVE-2016-10045."},{"date":"2018-02-09T14:53:51Z","kind":"github_poc","ref":"https://github.com/0x00-0x00/CVE-2016-10033","stars":6,"title":"PHPMailer \u003c 5.2.18 Remote Code Execution Exploit "},{"date":"2017-11-19T19:31:45Z","kind":"github_poc","ref":"https://github.com/pedro823/cve-2016-10033-45","stars":2,"title":"Exploits CVE-2016-10033 and CVE-2016-10045"},{"date":"2017-05-10T12:01:07Z","kind":"github_poc","ref":"https://github.com/chipironcin/CVE-2016-10033","stars":1,"title":"Code and vulnerable WordPress container for exploiting CVE-2016-10033"},{"date":"2017-07-22T03:20:41Z","kind":"github_poc","ref":"https://github.com/liusec/WP-CVE-2016-10033","stars":1,"title":null},{"date":"2018-02-06T08:59:14Z","kind":"github_poc","ref":"https://github.com/awidardi/opsxcq-cve-2016-10033","stars":1,"title":"To solve CTFS.me problem"}],"tier":"exploited"},"has_fix":true,"headline":"PHPMailer Command Injection","id":"CVE-2016-10033","indexable":true,"kev":{"dateAdded":"2025-07-07","dueDate":"2025-07-28","knownRansomwareCampaignUse":"Unknown","product":"PHPMailer","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","vendorProject":"PHP","vulnerabilityName":"PHPMailer Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":"Packagist","product":"joomla:joomla\\!","products":["joomla:joomla\\!","wordpress:wordpress"],"type":"command_injection","year":"2016"},"n_packages":2,"n_references":21,"next":{"headline":"zend-mail remote code execution via Sendmail adapter","id":"CVE-2016-10034"},"packages":[{"ecosystem":"Packagist","fixed":["5.2.18"],"introduced":["5.0.0"],"last_affected":[],"package":"phpmailer/phpmailer","purl":null,"source":"GHSA-5f37-gxvh-23v6"},{"ecosystem":"Packagist","fixed":["5.2.18"],"introduced":["5.0.0"],"last_affected":[],"package":"phpmailer/phpmailer","purl":"pkg:composer/phpmailer/phpmailer","source":"GHSA-5f37-gxvh-23v6"}],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2016-10031"},"products":["n/a"],"published":"2016-12-30","related":[{"cvss_score":5.3,"headline":"Joomla! Improper Access Control","id":"CVE-2023-23752","kev_date_added":"2024-01-08","published":"2023-02-16"},{"cvss_score":9.8,"headline":"Joomla! Core - [20260518] - Transport encryption downgrade for password and username reset links","id":"CVE-2026-48902","kev_date_added":null,"published":"2026-05-26"},{"cvss_score":9.8,"headline":"[20250401] - Joomla Framework - SQL injection vulnerability in quoteNameStr method of Database package","id":"CVE-2025-25226","kev_date_added":null,"published":"2025-04-08"},{"cvss_score":9.8,"headline":"[20220303] - Core - User row are not bound to a authentication mechanism","id":"CVE-2022-23795","kev_date_added":null,"published":"2022-03-30"},{"cvss_score":9.8,"headline":"[20220305] - Core - Inadequate filtering on the selected Ids","id":"CVE-2022-23797","kev_date_added":null,"published":"2022-03-30"},{"cvss_score":9.8,"headline":"[20220307] - Core - Variable Tampering on JInput $_REQUEST data","id":"CVE-2022-23799","kev_date_added":null,"published":"2022-03-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by injecting parameters into the mail command via a crafted Sender property in PHPMailer.","url":"https://insights.sbomify.com/CVE-2016-10033/"}