# CVE-2023-50250: Cross-Site Scripting vulnerability when Import xml template file

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.28%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-12-22T16:39:47.736Z
- Modified: 2026-06-17T06:39:22.977Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## Description

Cacti is an open source operational monitoring and fault management framework. A reflection cross-site scripting vulnerability was discovered in version 1.2.25. Attackers can exploit this vulnerability to perform actions on behalf of other users. The vulnerability is found in `templates_import.php.` When uploading an xml template file, if the XML file does not pass the check, the server will give a JavaScript pop-up prompt, which contains unfiltered xml template file name, resulting in XSS. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. As of time of publication, no patched versions are available.

(As written by CVE List.)

## Affected

- Cacti cacti: <= 1.2.25; 1.2.25

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73> (exploit, vendor-advisory)
- <https://github.com/Cacti/cacti/blob/5f6f65c215d663a775950b2d9db35edbaf07d680/templates_import.php> (exploit, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/> (release-notes)

## Sources

- CVE List: [CVE-2023-50250](https://www.cve.org/CVERecord?id=CVE-2023-50250), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-50250](https://nvd.nist.gov/vuln/detail/CVE-2023-50250), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-50250 · Whole record: https://cve.day/CVE-2023-50250.json · Rebuilt by cve.day 2026-11-25T22:58:31.630Z
