Actions
Bug #16941
closed
JP
JP
Potential XSS in DHCPv6 Pool Descriptions
Bug #16941:
Potential XSS in DHCPv6 Pool Descriptions
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.phpwhen viewing the interface configuration is encoded properly, the problematic view is only when adding a new pool or editing an existing pool.
Files
JP Updated by Jim Pingle 2 months ago
- File 16941.patch 16941.patch added
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Fixed in commit 7f8bf8ea51a8303020b5ecf44f6fe9902b12f73b
Added encoding to the output.
Patch is attached.
GT Updated by Georgiy Tyutyunnik about 2 months ago
- Status changed from Feedback to Resolved
fixed in the latest dev
tested on:
26.07-BETA (amd64)
built on Fri Jul 17 15:34:00 UTC 2026
FreeBSD 16.0-CURRENT
JP Updated by Jim Pingle about 1 month ago
- Private changed from Yes to No
Actions