Hi,
the issue is located in the set_cat_permalink function. The special "xss permalink" is detected as a bad permalink and so the function return immediately with an error message.
This is exactly at this point that the XSS occurs, the $permalink variable is displayed with an error message without escaping, which leads to the XSS.
A simple html_entities fix the issue. PR coming soon.
Hi,
the issue is located in the `set_cat_permalink` function. The special "xss permalink" is detected as a bad permalink and so the function return immediately with an error message.
This is exactly at this point that the XSS occurs, the `$permalink` variable is displayed with an error message without escaping, which leads to the XSS.
A simple html_entities fix the issue. PR coming soon.
<!-- github-comment-id:822642751 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi team!
I found a XSS in XSS in /admin.php?page=permalinks
Exploit Request:
PoC:


@plegall please check this!
Hi,
the issue is located in the
set_cat_permalinkfunction. The special "xss permalink" is detected as a bad permalink and so the function return immediately with an error message.This is exactly at this point that the XSS occurs, the
$permalinkvariable is displayed with an error message without escaping, which leads to the XSS.A simple html_entities fix the issue. PR coming soon.
https://nvd.nist.gov/vuln/detail/CVE-2020-22150 has been assigned for this issue.