ZabbixApplication

CVE-2023-32721

MEDIUM · 5.4 CVSS v3.1 Published 2023-10-12
Fix available
A fix is available. Upgrade to after 6.4.5 or later.
See remediation →
58/100
Remediation priority · Elevated
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A stored XSS has been found in the Zabbix web application in the Maps element if a URL field is set with spaces before URL.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

A stored XSS vulnerability exists in Zabbix's web interface where malicious JavaScript can be injected through the URL field in Maps elements when spaces precede the URL. The application fails to properly sanitize or validate the input, allowing stored scripts to execute when the map is viewed by other users.

MitigationImplement proper input validation and output encoding for the URL field in Zabbix Maps to strip or properly escape leading whitespace and special characters before storing and rendering the data.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
ZabbixApplication
Affected:>= 4.0.0, <= 4.0.47>= 5.0.0, <= 5.0.36>= 6.0.0, <= 6.0.20>= 6.4.0, <= 6.4.5= 7.0.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Zabbix version
    Access the Zabbix web interface and check the version (typically visible in the footer of the login page or in the 'System information' section under Administration > Scripts or by querying the API endpoint or checking the frontend version file)
    Affected if The installed version falls within 4.0.0-4.0.47, 5.0.0-5.0.36, 6.0.0-6.0.20, 6.4.0-6.4.5, or 7.0.0
  2. Verify Maps feature is in use
    Navigate to Monitoring > Maps in the Zabbix web interface and confirm if any custom maps have been created
    Affected if Custom maps exist in the Zabbix instance
  3. Inspect Map element URL fields for leading whitespace
    Edit each map and examine the URL field within map elements (right-click elements > Edit > URL field) for any URLs that begin with one or more space characters
    Affected if Any Map element contains a URL value that starts with one or more whitespace characters
  4. Check map viewing access by other users
    Verify permissions configuration for the maps (Monitoring > Maps > Edit > Sharing) to determine if other users or user groups can view the maps
    Affected if Maps with suspicious URLs are accessible to users other than the map creator
  5. Review recent map activity logs
    Check the Audit log (Reports > Audit) for entries related to Map element creation or modification to identify recent changes to URL fields
    Affected if There are audit log entries showing Map element URL modifications that may have introduced leading whitespace

A user is affected if they run a vulnerable Zabbix version and have Maps configured with elements whose URL fields contain leading whitespace, particularly if those maps are viewable by multiple users.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 6.4.5
Interim mitigation

Implement proper input validation and output encoding for the URL field in Zabbix Maps to strip or properly escape leading whitespace and special characters before storing and rendering the data.

Recommended fix Moderate confidence

Upgrade to the latest stable release in your major version branch (4.0.48+, 5.0.37+, 6.0.21+, or 6.4.6+) or migrate to Zabbix 6.4/7.0 LTS

  1. 1. Back up your current Zabbix database and configuration files before proceeding with any upgrade.
  2. 2. Identify your current Zabbix version by checking the Zabbix web interface footer or using the zabbix_server -V command.
  3. 3. For Zabbix 4.0.x users: Upgrade to Zabbix 4.0.48 or later (or migrate to a supported branch like 5.0 or 6.0).
  4. 4. For Zabbix 5.0.x users: Upgrade to Zabbix 5.0.37 or later (or migrate to 6.0/6.4 LTS).
  5. 5. For Zabbix 6.0.x users: Upgrade to Zabbix 6.0.21 or later.
  6. 6. For Zabbix 6.4.x users: Upgrade to Zabbix 6.4.6 or later.
  7. 7. After upgrade, clear browser cache and verify the Maps functionality works correctly with URLs containing spaces.
Caveat Minor: Review release notes for your version jump for any database schema changes; test thoroughly in staging first

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Zabbix Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing8.0 h
  • Review / QA4.0 h
24.0 hours of engineering $4,160
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-32721 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-32721 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data