CVE-2023-39360: Reflected Cross-site Scripting in graphs_new.php in Cacti

Published Sep 5, 2023
·
Updated

Cacti is an open source operational monitoring and fault management framework.Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability allows an authenticated user to poison data. The vulnerability is found in graphsnew.php. Several validations are performed, but the returnto parameter is directly passed to formsavebutton. In order to bypass this validation, returnto must contain host.php. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update should manually filter HTML output.

Affected Software

12 affected componentsFixes available
Cacti Cacti=1.2.24
Fedoraproject Fedora=37
Fedoraproject Fedora=38
alpine/cacti<1.2.26-r0
1.2.26-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
alpine/cacti<1.2.25-r0
1.2.25-r0
debian/cacti
1.2.2+ds1-2+deb10u61.2.16+ds1-2+deb11u31.2.24+ds1-1+deb12u21.2.25+ds1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.26-r0
  2. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.25-r0
  3. Upgrade

    Upgrade debian/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.2+ds1-2+deb10u6Fixed in 1.2.16+ds1-2+deb11u3Fixed in 1.2.24+ds1-1+deb12u2Fixed in 1.2.25+ds1-1
  4. Upgrade

    Upgrade Cacti to a version that resolves this vulnerability.

    Fixed in 1.2.25
  5. Compensating control

    If unable to update, manually filter HTML output to mitigate the XSS vulnerability.

Event History

Sep 5, 2023
CVE Published
via MITRE·08:43 PM
Data Sourced
08:43 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Sep 8, 2023
Data Sourced
05:43 PM
Affected Software
Updated
05:43 PM
Severity
Mar 18, 2024
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 3, 2026
Updated
via OSV·11:33 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-39360 vulnerability?

CVE-2023-39360 is a Stored Cross-Site Scripting (XSS) vulnerability found in the Cacti open source operational monitoring and fault management framework.

2

How can an authenticated user exploit this vulnerability?

An authenticated user can exploit the CVE-2023-39360 vulnerability by poisoning data through the `graphs_new.php` file.

3

What is the severity of CVE-2023-39360?

CVE-2023-39360 has a severity level of medium (6.1).

4

Which versions of Cacti are affected by CVE-2023-39360?

The CVE-2023-39360 vulnerability affects Cacti version 1.2.24.

5

How can I fix the CVE-2023-39360 vulnerability?

To fix the CVE-2023-39360 vulnerability, update Cacti to a version that is not affected by the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203