Yapig · Yet Another Php Image Gallery · CVE-2006-4421
**Name of the Vulnerable Software and Affected Versions**
Yet Another PHP Image Gallery (YaPIG) version 0.95b
**Description**
A cross-site scripting (XSS) issue exists, allowing remote attackers to inject arbitrary web script or HTML via the `D REFRESH URL` parameter in the template/default/thanks comment.php file.
**Recommendations**
For Yet Another PHP Image Gallery (YaPIG) version 0.95b, avoid using the `D REFRESH URL` parameter in the affected file until a fix is available. As a temporary workaround, consider restricting access to the thanks comment.php file to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this issue.