modsecurity — security advisory
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response’s Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12.
- Products
- modsecurity
- Affected versions
- 3.0.10-1, 3.0.11-1, 3.0.12-1, 3.0.12-1.1build1, 3.0.12-1.1build2, 3.0.13-1, 3.0.14-1, 3.0.14-1build1, 3.0.14-1build2, 3.0.15-1, 3.0.16-1, 3.0.3-1, 3.0.4-1, 3.0.4-1build1, 3.0.4-2, 3.0.6-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-54571
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:34 UTC · Revision 1
Source evidence
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response’s Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12.
osv:UBUNTU-CVE-2025-54571
modsecurity
Fixed versions: Not specified
modsecurity
Fixed versions: Not specified
modsecurity
Fixed versions: Not specified
modsecurity
Fixed versions: Not specified
modsecurity
Fixed versions: Not specified
modsecurity
Fixed versions: Not specified
Complete source record
{
"id": "f763be3f816cf45ba00d0e84d7ae9de3c3b4ca87fb8aa442d7020d4ef3197bc7",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-54571",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-54571",
"summary": "ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. In versions 2.9.11 and below, an attacker can override the HTTP response’s Content-Type, which could lead to several issues depending on the HTTP scenario. For example, we have demonstrated the potential for XSS and arbitrary script source code disclosure in the latest version of mod_security2. This issue is fixed in version 2.9.12.",
"evidence": "osv:UBUNTU-CVE-2025-54571",
"products": [
{
"name": {
"value": "modsecurity",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.0.4-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "modsecurity",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.4-2",
"evidence": "/affected/1/versions"
},
{
"value": "3.0.6-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "modsecurity",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.10-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.11-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.12-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.12-1.1build1",
"evidence": "/affected/2/versions"
},
{
"value": "3.0.12-1.1build2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "modsecurity",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.13-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.0.14-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.0.14-1build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "modsecurity",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.14-1build2",
"evidence": "/affected/4/versions"
},
{
"value": "3.0.15-1",
"evidence": "/affected/4/versions"
},
{
"value": "3.0.16-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "modsecurity",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.14-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "3.0.14-1build2",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-54571",
"aliases": [
"UBUNTU-CVE-2025-54571"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.0.3-1",
"3.0.4-1",
"3.0.4-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3",
"binary_version": "3.0.4-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.0.4-2",
"3.0.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3",
"binary_version": "3.0.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.0.10-1",
"3.0.11-1",
"3.0.12-1",
"3.0.12-1.1build1",
"3.0.12-1.1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3t64",
"binary_version": "3.0.12-1.1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.0.13-1",
"3.0.14-1",
"3.0.14-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3t64",
"binary_version": "3.0.14-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.0.14-1build2",
"3.0.15-1",
"3.0.16-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3t64",
"binary_version": "3.0.16-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "modsecurity",
"purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.0.14-1build1",
"3.0.14-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-54571.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmodsecurity3t64",
"binary_version": "3.0.14-1build2"
}
]
}
}
],
"modified": "2026-10-17T12:57:08.672692919Z",
"provider": "osv",
"upstream": [
"CVE-2025-54571"
],
"references": [
"https://ubuntu.com/security/CVE-2025-54571",
"https://www.cve.org/CVERecord?id=CVE-2025-54571",
"https://github.com/owasp-modsecurity/ModSecurity/commit/6d7e8eb18f2d7d368fb8e29516fcdeaeb8d349b8",
"https://github.com/owasp-modsecurity/ModSecurity/issues/2514",
"https://github.com/owasp-modsecurity/ModSecurity/security/advisories/GHSA-cg44-9m43-3f9v"
]
},
"related_cves": [
{
"value": "CVE-2025-54571",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356793,
"published_at": "2025-08-06T00:15:00+00:00"
}