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/20/2026, 21:36:31 UTC

Technical Analysis

CVE-2026-32844 is a reflected cross-site scripting (XSS) vulnerability found in the XinLiangCoder php_api_doc software, identified in the list_method.php script. The vulnerability stems from improper neutralization of user-supplied input in the 'f' GET parameter, which is directly output to the web page without adequate sanitization or encoding. This flaw allows remote attackers to craft malicious URLs containing JavaScript payloads that execute in the context of a victim's browser when the URL is accessed. Because the vulnerability is reflected, the malicious script is not stored but immediately reflected back in the HTTP response. The attack vector is network-based, requiring no privileges or authentication, but does require victim interaction to click or visit the malicious link. Exploitation can lead to theft of session cookies, enabling session hijacking, unauthorized actions on behalf of the victim, credential theft, or distribution of malware through the compromised session. The vulnerability has a CVSS 4.0 score of 5.1, reflecting medium severity with low attack complexity and no privileges required. No public exploits or patches are currently known, increasing the urgency for users to implement mitigations. The vulnerability is categorized under CWE-79, which covers improper neutralization of input leading to XSS attacks.

Potential Impact

The impact of CVE-2026-32844 is significant for organizations using XinLiangCoder php_api_doc, especially those exposing the vulnerable web interface to untrusted users or the internet. Successful exploitation can compromise user sessions, allowing attackers to impersonate legitimate users, steal sensitive credentials, or perform unauthorized actions within the application. This can lead to data breaches, unauthorized access to internal documentation or APIs, and potential lateral movement if the compromised session grants elevated privileges. Additionally, attackers could use the vulnerability to distribute malware or conduct phishing attacks by injecting malicious scripts. While the vulnerability does not directly affect system availability or integrity, the confidentiality and trustworthiness of user sessions and data are at risk. Organizations relying on php_api_doc for API documentation and development workflows may face operational disruptions and reputational damage if exploited.

Mitigation Recommendations

To mitigate CVE-2026-32844, organizations should first verify if they are using the affected versions of XinLiangCoder php_api_doc and restrict access to the vulnerable list_method.php page where possible. Since no official patches are currently available, immediate mitigation includes implementing web application firewall (WAF) rules to detect and block malicious payloads targeting the 'f' parameter. Input validation and output encoding should be applied at the application level to ensure that any user-supplied data is properly sanitized before rendering in the browser. Developers should update the code to use secure coding practices such as context-aware encoding libraries (e.g., OWASP Java Encoder or PHP htmlspecialchars with ENT_QUOTES) to neutralize scripts. Additionally, organizations should educate users to avoid clicking suspicious links and monitor web server logs for unusual requests targeting the vulnerable parameter. Employing Content Security Policy (CSP) headers can also reduce the impact of XSS by restricting script execution sources. Finally, maintain vigilance for official patches or updates from XinLiangCoder and apply them promptly once released.

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/20/2026, 9:36:31 PM

Last updated: 3/21/2026, 2:03:46 AM

Views: 7

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