Browser script execution via unsanitized AJAX response
Published Dec 21, 2023 · Updated Nov 4, 2025
DOM XSS in graphs_new.php in Cacti before 1.2.27 allows remote authenticated users to execute JavaScript in another user's browser. The cactiReturnTo path passes the returnto URL to loadPageNoHeader, whose AJAX handlers insert the fetched response through jQuery .html() without sanitization. An authorized attacker must send a crafted link and the victim must select Cancel; the attacker-controlled response then runs in the Cacti origin.
Summary
What happened
DOM XSS in graphs_new.php in Cacti before 1.2.27 allows remote authenticated users to execute JavaScript in another user's browser. The cactiReturnTo path passes the returnto URL to loadPageNoHeader, whose AJAX handlers insert the fetched response through jQuery .html() without sanitization. An authorized attacker must send a crafted link and the victim must select Cancel; the attacker-controlled response then runs in the Cacti origin.
The record
- CVE
- CVE-2023-49086
- Published
- Dec 21, 2023
- Updated
- Nov 4, 2025
- Vendor
- The Cacti Group
- Product
- Cacti
- Classifications
- CWE-79, T1204.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 21, 2023CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.2.27
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-wc73-r2vw-59pr DOM XSS proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo