Actions
Bug #16942
closed
JP
JP
Potential XSS via IPsec Phase 1 descriptions while editing Phase 2 entries
Bug #16942:
Potential XSS via IPsec Phase 1 descriptions while editing Phase 2 entries
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Affected Version:
Affected Architecture:
Description
When editing an IPsec Phase 2 entry, the vpn_ipsec_phase2.php page displays the description of the associated IPsec Phase 1 entry without encoding.
Setting an IPsec P1 description to a specially-crafted payload such as <img src=x onerror=alert('xss')> will produce an alert while viewing a P2 entry associated with that P1.
Files
JP Updated by Jim Pingle 2 months ago
- Private changed from No to Yes
JP Updated by Jim Pingle 2 months ago
- File 16942.patch 16942.patch added
- Status changed from Confirmed to Feedback
- % Done changed from 0 to 100
Fixed in commit a8c94d9330b0d814ae87e176e74fa5d3ef53eb58
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