{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "0a894b08769481ce1a7f0f42af901c6d9f88fa9c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0a894b08769481ce1a7f0f42af901c6d9f88fa9c"
            }
          ],
          "repo": "https://github.com/postfixadmin/postfixadmin",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121551.json"
  },
  "details": "PostfixAdmin through 4.0.5 contains a stored cross-site scripting vulnerability that allows authenticated mailbox users to inject script by creating a TOTP exception with an unescaped description. When a global administrator views totp-exceptions.php, the script runs in the admin session and can issue authenticated admin requests using the page's CSRF token.",
  "id": "CVE-2026-121551",
  "modified": "2026-11-05T02:30:56.823325396Z",
  "published": "2026-11-03T15:17:10.145Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121551.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121551"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/postfixadmin-through-4.0.5-stored-xss-via-totp-exception-description"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/postfixadmin/postfixadmin/issues/1185"
    },
    {
      "type": "FIX",
      "url": "https://github.com/postfixadmin/postfixadmin/commit/0a894b08769481ce1a7f0f42af901c6d9f88fa9c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/postfixadmin/postfixadmin/pull/1172"
    },
    {
      "type": "FIX",
      "url": "https://github.com/postfixadmin/postfixadmin/pull/1186"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/postfixadmin/postfixadmin"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/public/users/totp-exceptions.php#L128"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/postfixadmin/postfixadmin/blob/v4.0.5/templates/totp-exceptions.tpl#L56"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PostfixAdmin through 4.0.5 Stored XSS via TOTP Exception Description"
}