Cross-site Scripting (XSS) - Reflected in phoronix-test-suite/phoronix-test-suite

Valid

Reported on

Sep 7th 2021


✍️ Description

Cross-site Scripting (XSS) refers to client-side code injection attack wherein an attacker can execute malicious scripts into a legitimate website or web application. XSS occurs when a web application makes use of unvalidated or unencoded user input within the output it generates.

The user input GET parameter trigger of event.php is unsanitized resulting reflected cross site scripting.

Remediation

Apply context-dependent encoding and/or validation to user input rendered on a page

Occurences

References

We created a GitHub Issue asking the maintainers to create a SECURITY.md 3 months ago
We have contacted a member of the phoronix-test-suite team and are waiting to hear back 3 months ago
phoronix-test-suite/phoronix-test-suite maintainer confirmed that a fix has been merged on 262d23 3 months ago
The fix bounty has been dropped
3 months ago

Maintainer


This is unlikely to cause any issues in practice since first getting to that point requires credentials / access key from an account, there is barely any JavaScript used on the site besides for some basic display elements, and most installations being run on private intranets, etc. In any case now htmlspecialchars() is being used when printing that passed variable. Thanks!