High
Security advisory
jpress 4.2.0 is vulnerable to remote code execution via io.jpress.web.admin._TemplateController#doInstall. The admin panel provides a function through which attackers can install templates and inject some malicious code.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-46116
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:02 UTC · Revision 1
Source evidence
jpress 4.2.0 is vulnerable to remote code execution via io.jpress.web.admin._TemplateController#doInstall. The admin panel provides a function through which attackers can install templates and inject some malicious code.
osv:CVE-2021-46116
Complete source record
{
"id": "765cc8961a1459490b65022d2c413ba115722c86c19e4d04de189d2ebab3a6fc",
"url": "https://osv.dev/vulnerability/CVE-2021-46116",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-46116",
"summary": "jpress 4.2.0 is vulnerable to remote code execution via io.jpress.web.admin._TemplateController#doInstall. The admin panel provides a function through which attackers can install templates and inject some malicious code.",
"evidence": "osv:CVE-2021-46116",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-46116",
"aliases": [
"CVE-2021-46116"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jpressprojects/jpress",
"type": "GIT",
"events": [
{
"introduced": "2e3e8f376a26c1fa98c8d4ecb346d02e26ecb10b"
},
{
"last_affected": "2e3e8f376a26c1fa98c8d4ecb346d02e26ecb10b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jpress:jpress:4.2.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"last_affected": "4.2.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.2.0",
"v4.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46116.json"
}
}
],
"modified": "2026-10-20T10:55:09.129099550Z",
"provider": "osv",
"references": [
"https://github.com/JPressProjects/jpress/issues/168",
"https://github.com/JPressProjects/jpress"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-46116",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386957,
"published_at": "2022-01-26T17:15:07.78+00:00"
}