Security advisory
dotCMS before 20.10.1 allows SQL injection, as demonstrated by the /api/v1/containers orderby parameter. The PaginatorOrdered classes that are used to paginate results of a REST endpoints do not sanitize the orderBy parameter and in some cases it is vulnerable to SQL injection attacks. A user must be an authenticated manager in the dotCMS system to exploit this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-27848
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:10 UTC · Revision 1
Source evidence
dotCMS before 20.10.1 allows SQL injection, as demonstrated by the /api/v1/containers orderby parameter. The PaginatorOrdered classes that are used to paginate results of a REST endpoints do not sanitize the orderBy parameter and in some cases it is vulnerable to SQL injection attacks. A user must be an authenticated manager in the dotCMS system to exploit this vulnerability.
osv:CVE-2020-27848
Complete source record
{
"id": "710bd0d186dbb30ab144d64918b4d7d6f9cd61fba277a574be173395d9404682",
"url": "https://osv.dev/vulnerability/CVE-2020-27848",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-27848",
"summary": "dotCMS before 20.10.1 allows SQL injection, as demonstrated by the /api/v1/containers orderby parameter. The PaginatorOrdered classes that are used to paginate results of a REST endpoints do not sanitize the orderBy parameter and in some cases it is vulnerable to SQL injection attacks. A user must be an authenticated manager in the dotCMS system to exploit this vulnerability.",
"evidence": "osv:CVE-2020-27848",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-27848",
"aliases": [
"CVE-2020-27848"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dotcms/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d4ddc0720ee33a4be18823bb8b8cfad3f435240c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "20.10.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.6.0",
"3.5",
"3.5_Preview02",
"3.5_Preview01",
"pre3.5buildrevert",
"3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27848.json"
}
}
],
"modified": "2026-10-20T10:53:02.270394497Z",
"provider": "osv",
"references": [
"https://github.com/dotCMS/core/compare/v5.3.8.1...v20.10.1",
"https://github.com/dotCMS/core/issues/19500"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-27848",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384155,
"published_at": "2020-12-30T19:15:13.123+00:00"
}