CVE-2005-2721: XSS in Foojan PHP Weblog index.php and admin.php
- Vendor
- Foojan
CVE-2005-2721 describes multiple cross-site scripting (XSS) vulnerabilities in Foojan PHP Weblog, specifically in the index.php and admin.php scripts. The vulnerabilities allow remote attackers to inject arbitrary web script or HTML via the Referer field in the HTTP header, which is not properly sanitized before being rendered in the application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to execute arbitrary JavaScript or HTML in the context of users viewing affected pages, potentially leading to session hijacking, credential theft, or other attacks leveraging the victim's browser session.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, deploy a web application firewall (WAF) to filter malicious input in HTTP headers, and configure the application to avoid reflecting unsanitized header values in responses. Educate users to be cautious of suspicious links and referers.
Remediation
Patch, then assume compromise.
Update the application to properly sanitize and encode all user-supplied input, especially HTTP headers such as Referer, before rendering them in the output. Apply any vendor-supplied patches or updates addressing this issue.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2005-2721 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-2721 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-2721?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2005-2721.
- Is there a patch for CVE-2005-2721?
- Update the application to properly sanitize and encode all user-supplied input, especially HTTP headers such as Referer, before rendering them in the output. Apply any vendor-supplied patches or updates addressing this issue.
- What products are affected by CVE-2005-2721?
- Foojan Php Weblog.
- How severe is CVE-2005-2721?
- CVE-2005-2721 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 1.8% (78th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.