Improper Link Input Validation leads to Cross-site Scripting (XSS) in bookwyrm-social/bookwyrm
Jul 4th 2022
link input validation is not filtered protocol
Proof of Concept
Edit a book description or any fields allow link with the following input:
When a user clicks on the link, the "Pwned" box will pop up.
According to OWASP:
XSS can cause a variety of problems for the end user that range in severity from an annoyance to complete account compromise. The most severe XSS attacks involve disclosure of the user’s session cookie, allowing an attacker to hijack the user’s session and take over the account. Other damaging attacks include the disclosure of end user files, installation of Trojan horse programs, redirect the user to some other page or site, or modify presentation of content. An XSS vulnerability allowing an attacker to modify a press release or news item could affect a company’s stock price or lessen consumer confidence. An XSS vulnerability on a pharmaceutical site could allow an attacker to modify dosage information resulting in an overdose.