/

CVE-2026-31803

Severity:

HIGH RISK

(8.0)

Reflected XSS (CWE-79) in Combodo iTop tagadmin.php

CVE-2026-31803

Deferred

Vulnerability type

Category:

Cross-Site Scripting

CWE:

CWE-79

Impact:

Client-Side Code Execution and Session Compromise

Severity:

HIGH RISK

(8.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Combodo iTop contains a reflected cross-site scripting vulnerability in the pages/tagadmin.php component. If attacker-controlled input is reflected into an HTTP response without adequate output encoding, a victim who follows a crafted link may have script executed in their browser.

Affected context

The vulnerability occurs in the tag administration page of iTop deployments using affected releases before the fix in version 3.2.3. Risk depends on whether untrusted request data is reflected into rendered HTML and whether an authenticated user or administrator can be induced to visit a crafted URL.

Exploit preconditions

  • Attack surface: The web interface endpoint associated with pages/tagadmin.php
  • Required access: The ability to send a crafted request; victim interaction is generally required
  • Trigger point: Rendering a response that includes attacker-controlled input
  • Why exploitation is possible: Request data is reflected without context-appropriate output encoding or equivalent browser-side neutralization

Why this happens

The underlying bug is improper neutralization of user-controlled input in web output, mapping to CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). A reflected XSS flaw occurs when request data is inserted into an HTML response without applying encoding appropriate to its output context, allowing the browser to interpret the data as active markup or script.

Potential impact

  • A victim's browser may execute attacker-controlled script in the iTop origin
  • An attacker could access data available to the victim's session
  • Account actions could be performed on behalf of a targeted user
  • Sensitive page content may be disclosed or altered
  • Administrative users could experience greater impact because of their elevated privileges

General mitigation guidance

Mitigation generally focuses on consistently applying context-aware output encoding and reducing trust in request parameters.

Common defensive patterns include:

  • Encode dynamic values for their exact output context, such as HTML, attribute, URL, or JavaScript contexts
  • Prefer safe templating mechanisms that escape output by default
  • Validate inputs against expected formats without treating validation as a replacement for output encoding
  • Use restrictive Content Security Policy controls as a defense-in-depth measure
  • Limit administrative privileges and avoid using highly privileged sessions for untrusted links
  • Apply the vendor-provided fixed release through the organization's normal change-management process

How teams detect issues like this

Organizations commonly detect reflected XSS risks through:

  • Static analysis rules for request parameters flowing into HTML responses without encoding
  • Code review checks for direct interpolation into templates, attributes, scripts, or event handlers
  • Dynamic testing that exercises reflected parameters using inert, context-aware markers
  • Web application firewall or gateway policies for suspicious script-bearing input, recognizing that these controls are not a substitute for secure output handling
  • Automated security testing and neutral code-review tools that identify untrusted data flows

Sources

SourceLink
github.comgithub.com/Combodo/iTop/commit/ab8e7bd15ed251ad4fbe8d4d1b17474b2d688fba
github.comgithub.com/Combodo/iTop/security/advisories/GHSA-m27p-8qgh-857g

Frequently asked

questions

It can be triggered through web requests, but reflected XSS commonly requires a victim to open or otherwise process a crafted link or request.

The required access depends on the endpoint's access controls and deployment configuration. A victim may need an authenticated session, particularly when targeting administrative functionality.

Use the vendor-provided fixed release and ensure that all untrusted values are encoded for their specific output context before being rendered.

Use auto-escaping templates, review request-to-response data flows, test all user-controlled parameters, apply a restrictive Content Security Policy, and follow least-privilege practices for administrative accounts.

Find out what's already
exploitable in your codebase.