phpGB HTML Injection Vulnerability

BID:5676

Info

phpGB HTML Injection Vulnerability

Bugtraq ID: 5676
Class: Input Validation Error
CVE: CVE-2002-1480
Remote: Yes
Local: No
Published: Sep 09 2002 12:00AM
Updated: Jul 11 2009 05:06PM
Credit: Discovery credited to ppp-design
Vulnerable: phpGB phpGB 1.1
Not Vulnerable: phpGB phpGB 1.2

Discussion

phpGB HTML Injection Vulnerability

phpGB is subject to HTML injection attacks.

phpGB fails to check for the presence of HTML tags when generating guestbook entries. It is reported that an attacker may inject HTML and script code into guestbook entries, which will be executed in the web client of the administrative guestbook user when the admin attempts to delete the entry.

Exploit / POC

phpGB HTML Injection Vulnerability

The following proof of concept code was supplied by ppp-design:

Enter the following guestbookentry:

"delete me <script>alert(document.cookie)</script>"

Solution / Fix

phpGB HTML Injection Vulnerability

Solution:
This issue has been addressed in phpGB 1.2.0 and greater.

References

phpGB HTML Injection Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report