Home / Trustwave / Modsecurity / CVE-2009-5031
CVE-2009-5031: is it exploited, and which versions of Trustwave Modsecurity are affected and fixed?
CVE-2009-5031 is a cross-site scripting (XSS) vulnerability in Trustwave Modsecurity. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: modsecurity before 2.5.11, opensuse 11.4, opensuse 12.2 and 1 more (NVD). Fixed in 2.5.11 (NVD). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.
What is CVE-2009-5031?
ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks via a single quote in a request parameter in the Content-Disposition field of a request with a multipart/form-data Content-Type header.
From the CVE record by redhat, last updated August 7, 2024, 07:24 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| trustwave | modsecurity | before 2.5.11 | application |
| opensuse | opensuse | 11.4 | operating system |
| opensuse | opensuse | 12.2 | operating system |
| opensuse | opensuse | 12.3 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:14 UTC.
How severe is CVE-2009-5031?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-5031 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.90% probability of exploitation activity in the next 30 days, percentile 87.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- openSUSE-SU-2013:1342 vendor-advisory, x_refsource_SUSE
- 54156 vdb-entry, x_refsource_BID
- openSUSE-SU-2013:1331 vendor-advisory, x_refsource_SUSE
- http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf x_refsource_MISC
- http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES x_refsource_CONFIRM
- http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html x_refsource_MISC
- [oss-security] 20120621 Re: mod_security CVE request mailing-list, x_refsource_MLIST
- [oss-security] 20120621 mod_security CVE request mailing-list, x_refsource_MLIST
- 49576 third-party-advisory, x_refsource_SECUNIA
- https://www.modsecurity.org/fisheye/browse/modsecurity/m2/branches/2.5.x/apache2/msc_multipart.c?r2=1419&r1=1366 x_refsource_CONFIRM
- openSUSE-SU-2013:1336 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- December 9, 2010
- Published
- July 22, 2012, 16:00 UTC
- CVE record updated
- August 7, 2024, 07:24 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:14 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Modsecurity?
- Oct 9, 2024CVE-2024-46292 Trustwave Modsecurity: buffer overflow disputed
- Jan 20, 2023CVE-2023-24021 Trustwave Modsecurity: missing null termination
- Jan 20, 2023CVE-2022-48279 Owasp Modsecurity: interpretation Conflict
- Dec 7, 2021CVE-2021-42717 Owasp Modsecurity: uncontrolled recursion
- Apr 15, 2014CVE-2013-5705 Trustwave Modsecurity: n/a
- Jul 15, 2013CVE-2013-2765 Trustwave Modsecurity: NULL pointer dereference (crash)
- Apr 25, 2013CVE-2013-1915 Trustwave Modsecurity: XML external entity (XXE)
- Dec 28, 2012CVE-2012-4528 Trustwave Modsecurity: n/a
Questions about CVE-2009-5031
Is CVE-2009-5031 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 2.90% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Trustwave Modsecurity are affected by CVE-2009-5031?
modsecurity before 2.5.11, opensuse 11.4, opensuse 12.2 and opensuse 12.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2009-5031?
2.5.11, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2009-5031?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-5031?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.