[security] quick search and criteria display #519

Closed
opened 2026-10-05 00:02:01 +02:00 by adam · 6 comments
Owner

We need to sanitize search criteria used in quick search before displaying on search_rules.php page.

Reported by @BlueTower

We need to sanitize search criteria used in quick search before displaying on search_rules.php page. Reported by @BlueTower <!-- github-sync-id:192284010 -->
adam closed this issue 2026-10-05 00:02:01 +02:00
Author
Owner

related to #548

related to #548 <!-- github-comment-id:263572084 -->
Author
Owner

CVE-2016-9751 identifier has been assigned for this vulnerability.

CVE-2016-9751 identifier has been assigned for this vulnerability. <!-- github-comment-id:268800063 -->
Author
Owner

Hello @plegall -

I believe this issue needs to reopened. I am still able to execute a payload on (http://piwigo.org/demo/search_rules.php?search_id=38739) using a payload such as:

<svg onload=alert&#40;1&#41>

Suggestions?

Hello @plegall - I believe this issue needs to reopened. I am still able to execute a payload on (http://piwigo.org/demo/search_rules.php?search_id=38739) using a payload such as: `<svg onload=alert&#40;1&#41>` Suggestions? <!-- github-comment-id:278468787 -->
Author
Owner

@plegall Any comments? Can you take a new look and fix this in 2.9.3?

@plegall Any comments? Can you take a new look and fix this in 2.9.3? <!-- github-comment-id:334922650 -->
Author
Owner

Can anyone reproduce? I've tested for XSS many times (not just in piwigo), and the piwigo.org link by bluetower isn't showing any alert. Tested in Firefox, where XSS should work.

Can anyone reproduce? I've tested for XSS many times (not just in piwigo), and the piwigo.org link by bluetower isn't showing any alert. Tested in Firefox, where XSS should work. <!-- github-comment-id:336604690 -->
Author
Owner

I can't reproduce neither. I close this already closed bug.

I can't reproduce neither. I close this already closed bug. <!-- github-comment-id:367374086 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#519