Lucene search

K
huntrTsarsecurityECE5F051-674E-4919-B998-594714910F9E
HistoryFeb 17, 2023 - 1:51 a.m.

Reflected XSS in send2friend.php

2023-02-1701:51:24
tsarsecurity
www.huntr.dev
15
reflected xss
parameter sanitization
bug bounty
github
security issue
code fix

0.001 Low

EPSS

Percentile

44.2%

Description

There is a reflected XSS in send2friend because the ‘artlang’ parameter is not sanitized.

Proof of Concept

visit http://phpmyfaq.local/?action=send2friend&artlang=aaaa"%3E%3Cscript%3Ealert(1);%3C/script%3E

Fix

sanitize the ‘$faqLanguage’ variable in https://github.com/thorsten/phpMyFAQ/blob/main/phpmyfaq/send2friend.php#L70

0.001 Low

EPSS

Percentile

44.2%

Related for ECE5F051-674E-4919-B998-594714910F9E