CVE-2005-3734
Description
Cross-site scripting (XSS) vulnerability in the "add content" page in phpMyFAQ 1.5.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) thema, (2) username, and (3) usermail parameters.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
14cpe:2.3:a:phpmyfaq:phpmyfaq:1.5:*:*:*:*:*:*:*+ 13 more
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5.3:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_alpha1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_alpha2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_beta1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_beta2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_beta3:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_rc1:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_rc2:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_rc3:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_rc4:*:*:*:*:*:*:*
- cpe:2.3:a:phpmyfaq:phpmyfaq:1.5_rc5:*:*:*:*:*:*:*
- (no CPE)range: <=1.5.3
Patches
Vulnerability mechanics
Root cause
"Missing input sanitization of the thema, username, and usermail POST parameters allows injection of arbitrary HTML or JavaScript."
Attack vector
An anonymous attacker sends a POST request to the "add content" page at [path_to_phpmyfaq]/faq/index.php?sid=2&lang=en&action=save with malicious payloads in the thema, username, or usermail parameters [ref_id=1]. The injected script is stored persistently and later executed when an administrator views or approves the new record in the admin interface — for example, moving the mouse over the "Author" or "email address" form field triggers an onmouseover handler, or clicking the topic executes injected code [ref_id=1]. No authentication is required to submit the payload, and the attack works regardless of whether magic_quotes_gpc is enabled [ref_id=1].
Affected code
The advisory does not specify exact file paths or function names. The vulnerable code resides in the "add content" page of phpMyFAQ 1.5.3 and earlier, accessible via the URL path `[path_to_phpmyfaq]/faq/index.php` with parameters `action=add` and `action=save` [ref_id=1]. The thema, username, and usermail POST parameters are not sanitized before being stored and later rendered in the admin interface [ref_id=1].
What the fix does
The advisory states that the vendor released phpMyFAQ 1.5.4 to address these issues [ref_id=1]. No patch diff is provided in the bundle, but the recommended remediation is to upgrade to phpMyFAQ 1.5.4 or newer [ref_id=1]. The fix presumably adds proper output encoding or input validation for the thema, username, and usermail parameters before they are rendered in the admin interface.
Preconditions
- networkThe attacker must be able to reach the phpMyFAQ application's 'add content' page (no authentication required).
- inputThe attacker submits a POST request with malicious payloads in the thema, username, or usermail parameters.
- authAn administrator must later visit the admin interface to view or approve the submitted record, triggering the stored script.
Reproduction
1. Send a POST request to `[path_to_phpmyfaq]/faq/index.php?sid=2&lang=en&action=save` with the following parameters (example for username XSS): `username=" onmouseover="alert(document.cookie);`, `usermail=test`, `rubrik[]=1`, `thema=test`, `content=test`, `keywords=test`, `contentlink=http://`, `submit=submit` [ref_id=1]. 2. For the usermail parameter, use: `usermail=" onmouseover="alert(document.cookie);` with other parameters set to benign values [ref_id=1]. 3. For the thema parameter, use: `thema=' : ''}; alert(document.cookie); //` (this PoC works only if it is the last entry in the record list) [ref_id=1]. 4. An administrator visiting the admin interface to approve the record will trigger the injected script — mouseover for username/usermail, click on topic for thema [ref_id=1].
Generated on May 26, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- secunia.com/advisories/17649nvdPatchVendor Advisory
- www.securityfocus.com/bid/15504nvdPatch
- www.trapkit.de/advisories/TKADV2005-11-004.txtnvdExploit
- www.phpmyfaq.de/advisory_2005-11-18.phpnvdVendor Advisory
- securityreason.com/securityalert/196nvd
- www.osvdb.org/20989nvd
- www.securityfocus.com/archive/1/417219/30/0/threadednvd
- www.vupen.com/english/advisories/2005/2505nvd
News mentions
0No linked articles in our index yet.