{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.5.0"
              },
              {
                "fixed": "3.5.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "8c7223f4eac80b5725485be742d3fa2c984f4670"
            },
            {
              "fixed": "fbcbf7898f000d9d1a21d52e8a8d3ed4602aa7db"
            }
          ],
          "repo": "https://github.com/tootsuite/mastodon",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "The undo_mark_statuses_as_sensitive method in app/services/approve_appeal_service.rb in Mastodon 3.5.x before 3.5.3 does not use the server's representative account, resulting in moderator identity disclosure when a moderator approves the appeal of a user whose status update was marked as sensitive.",
  "id": "CVE-2022-48364",
  "modified": "2026-04-01T23:09:38.544940449Z",
  "published": "2023-03-06T14:15:09.463Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/mastodon/mastodon/blob/main/CHANGELOG.md#353---2022-05-26"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mastodon/mastodon/pull/18525"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mastodon/mastodon/compare/v3.5.2...v3.5.3"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/40826d/advisories/blob/master/CVE-2022-48364/README.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}