Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious URL
-
DeliveryVictim receives URL via email/social engineering
-
ExploitVictim clicks link to reports endpoint
-
ExecutionServer returns HTML with injected payload
-
PersistBrowser executes JavaScript in victim session
-
ImpactAttacker accesses session cookies or performs unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim (logged-in or unauthenticated user with access to the reports endpoint) visits a crafted URL containing injected HTML in the 'start_date_formatted' or 'end_date_formatted' parameters. The '/reports/generate/specific_customer' endpoint must be accessible and must accept these parameters without validation. User interaction (clicking a link or visiting an attacker-controlled page) is mandatory - the vulnerability cannot be exploited via passive network reconnaissance. There are no indications of special configuration requirements; the vulnerability appears present in default PHP Point of Sale v19.4 installations. The attack is limited by the fact that execution occurs only in the victim's browser context and requires the victim's cooperation to access the malicious URL. |
| Impact | CVSS 5.1 (Medium severity) with CVSS:4.0/AV:N/AC:L/PR:N/UI:A vector indicates network-accessible, low-complexity exploitation requiring user interaction but no authentication. The CVSS scope change is not specified (X values throughout modified metrics), limiting precise scope assessment. Key limiting factors are the requirement for user interaction (UI:A) and lack of confidentiality or availability impact (VC:N/VI:N/VA:N), with only integrity impact to the session (SI:L). The attack vector is network-based and unauthenticated, making this accessible to any remote attacker, but the user interaction requirement significantly reduces real-world exploitation probability compared to an AC:L/UI:N scenario. EPSS score and KEV status are not available, but the HTML injection class (CWE-79) typically has higher exploitation probability than CVSS alone suggests when POC tooling is widely available. Risk is primarily reputational and session-focused rather than critical infrastructure-threatening. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL containing JavaScript in the 'start_date_formatted' parameter, such as '/reports/generate/specific_customer?start_date_formatted=<img%20src=x%20onerror=alert(1)>', and emails or socially engineers a PHP Point of Sale user into clicking the link. When the victim visits the URL, the application renders the unescaped HTML/JavaScript in their browser, executing the attacker's code in the context of the user's authenticated session. The attacker could steal session cookies, redirect to a phishing page, or perform actions on behalf of the user within the Point of Sale application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
HTML injection vulnerability in PHP Point of Sale v19.4 allows unauthenticated remote attackers to render arbitrary HTML in victims' browsers via the '/reports/generate/specific_customer' endpoint, affecting the 'start_date_formatted' and 'end_date_formatted' parameters. User interaction is required (victim must visit a crafted link), limiting impact to stored/reflected XSS scenarios. No public exploit code or active exploitation has been confirmed at the time of analysis.
RemediationAI
Immediate remediation requires upgrading PHP Point of Sale to a patched version; however, no specific fix version has been identified in available vendor advisories at the time of analysis. Contact the vendor (php-point-of-sale project/developers) to obtain a patched release. As an interim compensating control, implement input validation and output encoding: sanitize the 'start_date_formatted' and 'end_date_formatted' parameters using a whitelist of allowed date formats (e.g., YYYY-MM-DD only) and apply HTML entity encoding (htmlspecialchars with ENT_QUOTES flag in PHP) to all output rendered in the '/reports/generate/specific_customer' response. Additionally, implement Content Security Policy (CSP) headers with script-src 'self' to mitigate stored/reflected XSS impact. Web Application Firewall rules blocking script tags and event handlers in query parameters provide temporary protection. Monitor INCIBE and the PHP Point of Sale project repository for patched version announcements.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PHP Point of Sale v19.4 fails to properly sanitize or validate user-supplied input in the date formatting parameters of the customer report generation endpoint. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where unsanitized user input is directly rendered into HTML responses without encoding or validation. This allows attackers to inject malicious HTML/JavaScript payloads through the 'start_date_formatted' and 'end_date_formatted' query parameters, which are processed by the PHP application and returned in the victim's browser context without proper output encoding.
Know when Php Point Of Sale gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Primary rating from Vendor (INCIBE) · only source for this CVE.
CVSS VectorVendor: INCIBE
Lifecycle Timeline
2DescriptionCVE.org
HTML injection vulnerability in PHP Point of Sale v19.4. This vulnerability allows an attacker to render HTML in the victim's browser due to a lack of proper validation of user input by sending a request to '/reports/generate/specific_customer', ussing 'start_date_formatted' y 'end_date_formatted' parameters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Php Point Of Sale
View allThe application was vulnerable to a Server-Side Request Forgery attacks, allowing the backend server to interact with un
The application was vulnerable to a session fixation that could be used hijack accounts. Rated critical severity (CVSS 9
The application was vulnerable to an authenticated Stored Cross-Site Scripting (XSS) in the upload and download function
The application was vulnerable to an authenticated Stored Cross-Site Scripting (XSS) in the user profile data fields, wh
The application was found to be vulnerable to an authenticated Stored Cross-Site Scripting (XSS) vulnerability in messag
The application was identified to have an CSV injection in data export functionality, allowing for malicious code to be
The application was vulnerable to Cross-Site Request Forgery (CSRF) attacks, allowing an attacker to coerce users into s
The application was vulnerable to an unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability in the barcode g
The application allowed for Unauthenticated User Enumeration by interacting with an unsecured endpoint to retrieve infor
The application was vulnerable to an authenticated information disclosure, allowing administrators to view unsalted user
EUVD-2025-209543
GHSA-29vm-h87p-hcp4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB