Actions
Bug #16116
closedPotential XSS in Wake on LAN page and widget
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
The page at services_wol_edit.php
does not perform sufficient validation on the interface
value submitted by users when creating or editing a WoL entry. This value is sent back to the user without encoding in the WOL list on services_wol.php
and on the dashboard widget wake_on_lan.widget.php
, which is a potential XSS vector.
Creating a new entry with the following data reproduces the problem condition:
{ "interface": "wan\"><script>alert('XSS')</script>", "mac": "aa:bb:cc:dd:ee:00", "descr": "XSS+Test", "save": "Save" }
Files
Actions