{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "20.20.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "20.7-cert11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "21.0.0-pre1"
                  },
                  {
                    "fixed": "21.12.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "22.0.0-pre1"
                  },
                  {
                    "fixed": "22.10.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "23.0.0-pre1"
                  },
                  {
                    "fixed": "23.4.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "22.8-cert1-pre1"
                  },
                  {
                    "fixed": "22.8-cert3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "4373f8174bf71c467fc9db96036126d30425b9e8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "4b360a61d649a7c12b1021aa554642322ee28c10"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "60c23d8b56b2cf93caceb527e07654b16f388343"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "87399593cda601ae3670bf890bdb32f78e881bf3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "9cff8e62fbd9e7db87c233de3335047df88877d0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "dc43c5b32a3a216da4c9e95388fbadaca3e78bc8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e6998409f73f49959d0062c695bb9a2f611af5ac"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "20.20.1",
                "range": [
                  {
                    "fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "21.12.3",
                "range": [
                  {
                    "fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "22.10.1",
                "range": [
                  {
                    "fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "23.4.1",
                "range": [
                  {
                    "fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "certified-20.7-cert11",
                "range": [
                  {
                    "fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "certified-22.8-cert3",
                "range": [
                  {
                    "fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1f072600089c8321b8c4141f431742b06cae1c66"
            },
            {
              "fixed": "19ea385cecb1b9403e3d924bcb3d770a04d50b49"
            },
            {
              "introduced": "68349125a8a825b0995b4ab1343c61bdb2ad33e5"
            },
            {
              "fixed": "b9fda9d45703e9dbae5542300bb1f11a1abe2f37"
            },
            {
              "introduced": "31b8dc09238d916be18d93dc7dda30711e636c17"
            },
            {
              "fixed": "f0e408a7b0d829c85bf15fa4b487870a50cb3000"
            },
            {
              "introduced": "ca5335d90ea8dc26fa2ea189f9621b1d8a4a3513"
            },
            {
              "fixed": "9c6d578ea138e2a5df3bbc261b82a94424d6ce53"
            },
            {
              "introduced": "5da1497b742194b535f13e155b87bd698772a4b6"
            },
            {
              "fixed": "3c1105ea3c80209b5420565d125dc2163eba436a"
            },
            {
              "fixed": "4373f8174bf71c467fc9db96036126d30425b9e8"
            },
            {
              "fixed": "4b360a61d649a7c12b1021aa554642322ee28c10"
            },
            {
              "fixed": "60c23d8b56b2cf93caceb527e07654b16f388343"
            },
            {
              "fixed": "87399593cda601ae3670bf890bdb32f78e881bf3"
            },
            {
              "fixed": "9cff8e62fbd9e7db87c233de3335047df88877d0"
            },
            {
              "fixed": "dc43c5b32a3a216da4c9e95388fbadaca3e78bc8"
            },
            {
              "fixed": "e6998409f73f49959d0062c695bb9a2f611af5ac"
            }
          ],
          "repo": "https://github.com/asterisk/asterisk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4pgv-j3mr-3rcp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57196.json"
  },
  "details": "Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3, an unauthenticated attacker may use reflected cross-site scripting in `phone provisioning HTTP error pages` to retrieve an authorized user's `AMI session cookie` and impersonate that user when `res_phoneprov` is enabled. The Asterisk HTTP web server, Asterisk Manager Interface (AMI), and AMI access via HTTP must all be enabled; each is disabled by default. The attacker must be able to connect to the HTTP server, which binds only to `127.0.0.1` by default even when enabled, and must convince the authorized user to click a malicious link. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.",
  "id": "CVE-2026-57196",
  "modified": "2026-11-11T10:30:58.463780900Z",
  "published": "2026-10-26T19:27:35.360Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/20.20.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/21.12.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/22.10.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/23.4.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/certified-20.7-cert11"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/asterisk/asterisk/tree/24.0.0-pre1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57196.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-4pgv-j3mr-3rcp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-57196"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/4373f8174bf71c467fc9db96036126d30425b9e8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/4b360a61d649a7c12b1021aa554642322ee28c10"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/60c23d8b56b2cf93caceb527e07654b16f388343"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/87399593cda601ae3670bf890bdb32f78e881bf3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/9cff8e62fbd9e7db87c233de3335047df88877d0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/dc43c5b32a3a216da4c9e95388fbadaca3e78bc8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/asterisk/asterisk/commit/e6998409f73f49959d0062c695bb9a2f611af5ac"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages"
}