CVE-2009-4159: Directmailteam/direct mail Cross-Site Scripting Vulnerability
LOWCVE-2009-4159 is a LOW cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Directmailteam/direct mail libraries in the Packagist ecosystem. The issue involves typo3 direct mail extension vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 2.6.5.
CVE-2009-4159 at a Glance
How to Fix CVE-2009-4159
To remediate this vulnerability, upgrade all affected Directmailteam/direct mail dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade directmailteam/direct-mail to 2.6.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for directmailteam/direct-mail
How to Check if You Are Affected
To determine whether your application is affected by CVE-2009-4159, inspect your project dependencies for Directmailteam/direct mail:
inspect dependencies for directmailteam/direct-mail
Analyze the terminal output to locate any version of Directmailteam/direct mail in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Directmailteam/direct mail, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2009-4159 Affected Directmailteam/direct mail Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
directmailteam/direct-mail
|
Packagist |
< 2.6.5
|
2.6.5
|
References
Frequently Asked Questions
What is CVE-2009-4159?
Which Directmailteam/direct mail versions are affected?
What version fixes CVE-2009-4159?
Is directmailteam/direct-mail affected?
What CWE is associated with CVE-2009-4159?
How can I check Packagist dependencies for CVE-2009-4159?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7x6f-jvmg-6fgp",
"modified" : "2025-04-10T12:21:49Z",
"published" : "2022-05-02T03:52:19Z",
"aliases" : [ "CVE-2009-4159" ],
"summary" : "TYPO3 Direct Mail Extension Vulnerable to Cross-Site Scripting (XSS)",
"details" : "Cross-site scripting (XSS) vulnerability in the newsletter configuration feature in the backend module in the Direct Mail (direct_mail) extension 2.6.4 and earlier for TYPO3 allows remote authenticated users to inject arbitrary web script or HTML via unspecified vectors.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "directmailteam/direct-mail"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-4159"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kartolo/direct_mail"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20110108051351/http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-018"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228220911/http://www.securityfocus.com/bid/37166"
}, {
"type" : "WEB",
"url" : "http://typo3.org/extensions/repository/view/direct_mail/2.6.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-10T12:21:48Z",
"nvd_published_at" : "2009-12-02T17:30:00Z"
}
}