CVE-2018-7722 #786

Closed
opened 2026-10-05 00:17:19 +02:00 by adam · 3 comments
Owner

https://nvd.nist.gov/vuln/detail/CVE-2018-7722

The management panel in Piwigo 2.9.3 has stored XSS via the name parameter in
a /ws.php?format=json request. CSRF exploitation, related to CVE-2017-10681,
may be possible.

From discussion with developer:

The best one would be to add a required parameter pwg_token, but it would break
remote apps (like the iOS app) which is more a problem than a solution. So we will
escape any JS in the "name" parameter.

When you fix this vulnerability could you mention CVE in commit message, thank you.

https://nvd.nist.gov/vuln/detail/CVE-2018-7722 > The management panel in Piwigo 2.9.3 has stored XSS via the name parameter in > a /ws.php?format=json request. CSRF exploitation, related to CVE-2017-10681, > may be possible. From discussion with developer: > The best one would be to add a required parameter pwg_token, but it would break > remote apps (like the iOS app) which is more a problem than a solution. So we will > escape any JS in the "name" parameter. When you fix this vulnerability could you mention CVE in commit message, thank you. <!-- github-sync-id:325607029 -->
adam closed this issue 2026-10-05 00:17:19 +02:00
Author
Owner

@plegall can we fix this also in 2.9.4?

@plegall can we fix this also in 2.9.4? <!-- github-comment-id:403066738 -->
Author
Owner

@fgeek yes, it was a bit more complicated to fix, compared to #872

@fgeek yes, it was a bit more complicated to fix, compared to #872 <!-- github-comment-id:403084451 -->
Author
Owner

Great. Thank you for your efforts once again.

Great. Thank you for your efforts once again. <!-- github-comment-id:403088889 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#786