Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-46118

jpress 4.2.0 is vulnerable to remote code execution via io.jpress.module.article.kit.ArticleNotifyKit#doSendEmail. The admin panel provides a function through which attackers can edit the email templates and inject some malicious code.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-46118
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:24 UTC · Revision 1

Source evidence

CVE-2021-46118

core-osv · Original source

Published 26 Jan 2022, 17:15 UTC

jpress 4.2.0 is vulnerable to remote code execution via io.jpress.module.article.kit.ArticleNotifyKit#doSendEmail. The admin panel provides a function through which attackers can edit the email templates and inject some malicious code.

osv:CVE-2021-46118
Complete source record
{
  "id": "054b61794aede82c56d6874e4798be130fc73cbce658920fcac44fe4496980ee",
  "url": "https://osv.dev/vulnerability/CVE-2021-46118",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-46118",
    "summary": "jpress 4.2.0 is vulnerable to remote code execution via io.jpress.module.article.kit.ArticleNotifyKit#doSendEmail. The admin panel provides a function through which attackers can edit the email templates and inject some malicious code.",
    "evidence": "osv:CVE-2021-46118",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-46118",
      "aliases": [
        "CVE-2021-46118"
      ],
      "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-46118.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:13.646261843Z",
      "provider": "osv",
      "references": [
        "https://github.com/JPressProjects/jpress/issues/170",
        "https://github.com/JPressProjects/jpress"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-46118",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384973,
  "published_at": "2022-01-26T17:15:07.82+00:00"
}