source: https://www.securityfocus.com/bid/6632/info phpLinks is prone to HTML injection. phpLinks does not sufficiently sanitized HTML and script code supplied via form fields before displaying this data to administrative users. This issue exists in the 'add.php' script, which is used to add sites to the phpLinks system. As a result, an attacker may cause malicious HTML and script code to be executed in the web client of an administrative user who reviews attacker-supplied data submitted when a site is added. Put this in one of the field on "Add Site" form located at http://blah/phplinks/index.php?show=add&PID= If you inject the code into the Site Title or Site Url field, the code will be ran as soon as a logged in administrator views it. Below is the code for the called file "death.html" --------------------------------------------------------------------------- --------------------------------------------------------------------------- As you can see, that code (when called by a logged in admin validating sites) is run, the database is in alot of cases going to be left empty. By the way, the dbtable=links can be changed to dbtable=temp in order to affect sites not yet approved etc. On the other hand you can add users to the database and more. Take the following code for example: Below is the code for the called file "life.html": --------------------------------------------------------------------------- ---------------------------------------------------------------------------