All vulnerabilities

Servers and applications

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.

Severity
Medium 4.3
Published
22 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.5.11
Exploit chance
2.9% in the next 30 daysHigher than 87% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
ModSecurityServers and applications · cpe:a:trustwave:modsecurity
  • Every version before 2.5.11

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2009-5031
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2009-5031