Skip to main content

thaipalliative_lte CVE-2026-38579

| EUVDEUVD-2026-34845 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-05 mitre GHSA-jcmf-mmvx-3hgc
6.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify target running thaipalliative_lte ≤3.0
  2. Delivery
    Craft URL with XSS payload in idFormMain/id/ptid_key parameter
  3. Exploit
    Deliver crafted URL to authenticated application user
  4. Install
    Victim clicks link, browser loads /substudy/ezform.php
  5. C2
    Unencoded parameter reflected into HTML/JS context
  6. Execute
    Injected script executes in victim browser
  7. Impact
    Exfiltrate session token or perform authenticated 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

The CVSS vector PR:N confirms no authentication is required on the part of the attacker to craft and deliver the malicious URL. However, UI:R (user interaction required) means the attack is contingent on a victim clicking or otherwise loading the crafted URL - exploitation cannot proceed without this interaction, and mass automated exploitation is therefore not feasible (consistent with SSVC Automatable: no). For meaningful impact (e.g., session hijacking), the victim must be an authenticated user of the thaipalliative_lte application at the time of interaction, since reflected XSS in this context would operate under the victim's existing session. The application must be reachable over the network and running PHP with the /substudy/ezform.php endpoint accessible. No special server-side configuration is required beyond a default deployment of the affected version. Exploitation is limited by: the need for social engineering to deliver the URL, the niche installed base of the application, and the requirement that victims be active users of the system.

Impact

The CVSS 3.1 base score of 6.1 (Medium) is driven by a network attack vector (AV:N), low complexity (AC:L), no required privileges from the attacker (PR:N), a Changed scope (S:C indicating cross-origin impact such as accessing victim session data), and required user interaction (UI:R). The Changed scope elevates the score beyond what the Low confidentiality and Low integrity impacts would suggest alone. Real-world risk is moderate-to-low: EPSS at 0.08% (23rd percentile) indicates the vulnerability is unlikely to be exploited broadly, and no CISA KEV listing exists. The SSVC decision framework rates exploitation as 'poc' (proof-of-concept available), Automatable as 'no' (consistent with the UI:R requirement - mass exploitation is constrained by the need to socially engineer each victim), and Technical Impact as 'partial'. The combination of POC existence with low EPSS may reflect that this targets a geographically or contextually niche application with a small installed base, reducing attacker motivation. No CVSS/description conflict detected, but note that CVSS PR:N describes the attacker's privilege requirement, not the victim's - victims may need to be authenticated users of the application for session hijacking to be impactful.

Exploit ScenarioDerived

An attacker reviews the publicly available POC advisory and crafts a malicious URL targeting /substudy/ezform.php with a JavaScript payload embedded in the idFormMain or ptid_key parameter. The attacker delivers the link via phishing email or a social media message to a user with an active session on the thaipalliative_lte application; when the victim clicks the link, the unescaped parameter is reflected into the page and the injected script executes in the victim's browser, enabling the attacker to steal session cookies or perform actions on the victim's behalf. Because exploitation is rated 'not automatable' by SSVC, this attack requires individually targeting and deceiving each victim rather than mass scanning.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 09, 2026

Multiple reflected Cross-Site Scripting vulnerabilities in damasac's thaipalliative_lte PHP application (through version 3.0) allow unauthenticated remote attackers to inject arbitrary JavaScript into victim browsers by crafting malicious URLs. The vulnerable file /substudy/ezform.php unsafely echoes four distinct user-controlled parameters - idFormMain, id (in two locations), and ptid_key - directly into HTML attributes and JavaScript contexts without output encoding. A proof-of-concept exists per SSVC data; however, EPSS is very low at 0.08% (23rd percentile) and exploitation is not confirmed by CISA KEV, suggesting limited widespread attacker interest at time of analysis.

RemediationAI

No vendor-released patch has been identified at time of analysis - no patched release version is referenced in any advisory or the GitHub repository. The primary remediation is to apply output encoding to all four vulnerable parameters in /substudy/ezform.php: idFormMain (line 24), id (lines 25 and 75), and ptid_key (lines 26 and 42). For HTML attribute contexts, use htmlspecialchars() with ENT_QUOTES and the correct character encoding; for JavaScript contexts, use JSON encoding or a dedicated JavaScript escaping function such as json_encode(). As a compensating control, deploying a Web Application Firewall (WAF) with XSS filtering rules can reduce exploitability but is not a substitute for source-level fixes. Implementing a Content Security Policy (CSP) header that restricts inline script execution would significantly limit the impact of any remaining XSS surface, though with the trade-off of potential compatibility issues for existing inline scripts. The researcher advisory is available at https://github.com/theemperorspath/advisories/blob/main/2026/CVE-2026-38579.md and the vulnerable code is visible at https://github.com/damasac/thaipalliative_lte/blob/57b57630fb403eba524533062ef5244e9b7c4380/substudy/ezform.php.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected product is a PHP web application (thaipalliative_lte) developed by GitHub user damasac, likely a Thai palliative care management system. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Reflected XSS): user-supplied GET or POST parameters are interpolated directly into rendered HTML and JavaScript without HTML entity encoding, JavaScript escaping, or Content Security Policy enforcement. The vulnerability spans multiple distinct injection points within a single file (/substudy/ezform.php): the idFormMain parameter at line 24, the id parameter at lines 25 and 75, and the ptid_key parameter at lines 26 and 42, indicating a systemic lack of output encoding throughout the file rather than an isolated oversight. The CPE data provided is generic (cpe:2.3:a:n/a:n/a), confirming this is a niche or unregistered product not tracked in the NVD CPE dictionary. Tagged as PHP and XSS by the reporting source.

Know when PHP 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

NVD PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Jun 09, 2026 - 14:22 NVD
6.1 (MEDIUM)
CVE Published
Jun 05, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

Multiple reflected Cross-Site Scripting (XSS) vulnerabilities in damasac thaipalliative_lte through version 3.0 allow remote attackers to inject arbitrary web script or HTML via the idFormMain parameter (line 24), the id parameter (lines 25, 75), and the ptid_key parameter (lines 26, 42) in /substudy/ezform.php. User input is echoed into HTML attributes and JavaScript contexts without encoding.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy