Description
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.
Published: 2026-10-26
Score: 2.3 Low
EPSS: n/a
KEV: No
Impact: Cross‑site scripting that can expose AMI session cookies and allow attacker impersonation
Action: Patch
AI Analysis

Impact

The vulnerability is a reflected cross‑site scripting flaw in Asterisk’s phone provisioning HTTP error pages. An unauthenticated attacker can embed malicious JavaScript which runs in the context of a logged‑in AMI user’s browser, allowing the attacker to read the AMI session cookie from the page and impersonate the user for AMI operations.

Affected Systems

Affected are Asterisk and Certified Asterisk releases earlier than 20.20.1, 21.12.3, 22.10.1, 23.4.1 and before Certified 20.7‑cert11 and 22.8‑cert3. The components required to be enabled are the Asterisk HTTP web server, the AMI interface, and AMI over HTTP. All of these are disabled by default and the web server normally binds to 127.0.0.1 unless an administrator explicitly enables it.

Risk and Exploitability

The CVSS score of 2.3 denotes low severity. The exploitation requires direct connectivity to the Asterisk HTTP server, which by default listens only on localhost, and a social‑engineering element – the victim must click a malicious link. Because the attack is not automated, the EPSS score is not reported and the vulnerability is not listed in the CISA KEV catalog. Consequently the risk remains low for correctly configured installations but may rise if the HTTP server or AMI is exposed to untrusted networks.

Generated by OpenCVE AI on October 26, 2026 at 20:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a patched Asterisk release (20.20.1 or newer, 21.12.3 or newer, etc.).
  • If an update is not possible, disable the Asterisk HTTP web server and the AMI interface or configure them to bind only to localhost.
  • Disable the res_phoneprov module or restrict phone provisioning to trusted networks and users, and ensure proper output validation, especially for XSS mitigations in web interfaces.

Generated by OpenCVE AI on October 26, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-26T20:13:49.872Z

Reserved: 2026-06-24T02:00:46.800Z

Link: CVE-2026-57196

cve-icon Vulnrichment

Updated: 2026-10-26T20:13:44.934Z

cve-icon NVD

Status : Received

Published: 2026-10-26T20:17:57.047

Modified: 2026-10-26T21:18:31.447

Link: CVE-2026-57196

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T20:30:15Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')