Project

General

Profile

Actions

Bug #16941

closed
JP JP

Potential XSS in DHCPv6 Pool Descriptions

Bug #16941: Potential XSS in DHCPv6 Pool Descriptions

Added by Jim Pingle 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
DHCP (IPv6)
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

With the Kea backend active, when adding or editing a DHCPv6 pool, the services_dhcpv6.php page prints the descriptions (descr field) of existing pools without encoding. A pool with a specially-crafted payload can trigger an XSS:

<img src=x onerror=alert('xss')>

Notes:

  • Requires the Kea DHCP server backend, the ISC DHCPv6 backend GUI does not support pools.
  • The list on services_dhcpv6.php when viewing the interface configuration is encoded properly, the problematic view is only when adding a new pool or editing an existing pool.

Files

16941.patch (545 Bytes) 16941.patch Jim Pingle, 07/10/2026 04:03 PM
Actions

Also available in: Atom