Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32844: CWE-79 Improper neutralization of input during web page generation ('cross-site scripting') in XinLiangCoder php_api_doc

0
Medium
VulnerabilityCVE-2026-32844cvecve-2026-32844cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 17:26:30 UTC)
Source: CVE Database V5
Vendor/Project: XinLiangCoder
Product: php_api_doc

Description

XinLiangCoder php_api_doc through commit 1ce5bbf contains a reflected cross-site scripting vulnerability in list_method.php that allows remote attackers to execute arbitrary JavaScript in a victim's browser by injecting malicious code through the f parameter. Attackers can craft a malicious URL with unsanitized input in the GET request parameter that is output directly to the page without proper neutralization, enabling session hijacking, credential theft, or malware distribution within the application context.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/27/2026, 22:59:51 UTC

Technical Analysis

CVE-2026-32844 is a reflected cross-site scripting vulnerability found in the php_api_doc product developed by XinLiangCoder. The vulnerability exists in the list_method.php script, where the 'f' parameter from a GET request is incorporated into the web page output without proper sanitization or encoding. This improper neutralization of input (classified under CWE-79) allows attackers to craft malicious URLs containing JavaScript payloads that execute in the context of the victim's browser upon visiting the URL. The attack vector is remote and does not require any authentication, but it does require user interaction to trigger the malicious script. The vulnerability can lead to session hijacking, credential theft, or the distribution of malware by leveraging the victim's browser privileges within the application context. The CVSS 4.0 score of 5.1 reflects a medium severity, considering the ease of exploitation (low complexity), no privileges required, and user interaction needed. No patches or official fixes have been linked yet, and no known exploits have been observed in the wild as of the publication date. The vulnerability highlights the importance of secure coding practices, especially proper input validation and output encoding in web applications that generate dynamic content based on user input.

Potential Impact

The primary impact of this vulnerability is on the confidentiality and integrity of user sessions and data. Successful exploitation can allow attackers to steal session cookies, leading to session hijacking and unauthorized access to user accounts. Credential theft can facilitate further compromise of the application or connected systems. Additionally, attackers can use the vulnerability to deliver malicious scripts that execute within the victim's browser, potentially leading to malware infections or further exploitation of client-side vulnerabilities. For organizations, this can result in data breaches, loss of user trust, reputational damage, and potential regulatory penalties if sensitive data is exposed. Since the vulnerability is in a documentation tool (php_api_doc), the risk depends on how widely this tool is deployed and whether it is exposed to untrusted users. However, any public-facing instance is at risk of exploitation. The medium severity score indicates a moderate risk, but the ease of exploitation and potential for impactful attacks make timely remediation important.

Mitigation Recommendations

To mitigate CVE-2026-32844, organizations should implement strict input validation and output encoding for the 'f' parameter in list_method.php and any other user-controllable inputs. Specifically, use context-appropriate encoding (e.g., HTML entity encoding) before reflecting user input in the web page. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Disable or restrict access to the vulnerable php_api_doc interface from untrusted networks or users. Monitor web server logs for suspicious URL patterns that may indicate attempted exploitation. If possible, update to a patched version once available or apply community-developed patches or workarounds. Conduct security code reviews and penetration testing focused on XSS vulnerabilities in all web-facing applications. Educate developers on secure coding standards to prevent similar vulnerabilities in future releases. Finally, consider implementing multi-factor authentication to reduce the impact of stolen credentials.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-03-16T18:11:41.758Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bdbd91e2bf98efc48d097f

Added to database: 3/20/2026, 9:35:13 PM

Last enriched: 3/27/2026, 10:59:51 PM

Last updated: 5/4/2026, 2:50:18 PM

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses