CVE-2026-32844 in php_api_docinfo

Summary

by MITRE • 03/20/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 03/26/2026

This vulnerability exists within the XinLiangCoder php_api_doc web application, specifically in the list_method.php file where a reflected cross-site scripting flaw has been identified. The vulnerability stems from improper input validation and output sanitization mechanisms that fail to neutralize malicious content injected through the f parameter in GET requests. The flaw allows attackers to craft malicious URLs that, when visited by victims, execute arbitrary JavaScript code within the victim's browser context. This represents a classic reflected xss vulnerability where the malicious payload is reflected back to the user through the application's response without adequate sanitization.

The technical implementation of this vulnerability follows the CWE-79 standard for cross-site scripting flaws, specifically manifesting as a reflected variant where the malicious input travels from the web application's input point to the user agent through an HTTP response. The vulnerability occurs because the application directly outputs the f parameter value to the HTML page without proper encoding or sanitization, creating an execution environment where attacker-controlled JavaScript can be interpreted and executed. This flaw operates at the application layer and can be exploited through various vectors including social engineering, phishing campaigns, or by embedding malicious links in compromised websites or email communications.

The operational impact of this vulnerability extends beyond simple script execution, as it enables sophisticated attack vectors that can compromise user sessions and steal sensitive information. Attackers can leverage this vulnerability to perform session hijacking by stealing session cookies or authentication tokens, allowing them to impersonate legitimate users and gain unauthorized access to protected application features. Additionally, the vulnerability can be used to harvest user credentials through credential theft mechanisms, or to distribute malware by redirecting victims to malicious content that exploits other vulnerabilities. The reflected nature of the vulnerability means that the attack payload is not stored on the server, making detection more challenging and allowing for rapid deployment of attacks.

Mitigation strategies for this vulnerability should focus on implementing proper input validation and output encoding mechanisms throughout the application's codebase. The primary defense involves sanitizing all user-supplied input before rendering it in the application's output, specifically implementing proper HTML entity encoding for the f parameter in list_method.php. Organizations should also implement content security policies to prevent unauthorized script execution and utilize web application firewalls to detect and block malicious requests. Additionally, regular security code reviews and input validation testing should be conducted to identify similar vulnerabilities in other application components. The fix should align with industry best practices for xss prevention and should be validated through comprehensive penetration testing to ensure that the remediation effectively blocks all potential attack vectors. This vulnerability demonstrates the critical importance of proper input sanitization and output encoding in web applications, as highlighted in the ATT&CK framework's web application attack patterns and the CWE classification system's categorization of input validation flaws.

Responsible

VulnCheck

Reservation

03/16/2026

Disclosure

03/20/2026

Moderation

accepted

CPE

ready

EPSS

0.00044

KEV

no

Activities

very low

Sources

Interested in the pricing of exploits?

See the underground prices here!