Read the docs

Cross-site scripting in SourceCodester Drug Recommendation System

Priority LOW 39CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting, Code execution
Confidentiality · integrity · availability
None · Low · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79 and CWE-94.

Summary

SourceCodester Drug Recommendation System 1.0 contains a cross-site scripting flaw in the Patient Registration functionality of patient.php. Manipulating the txtname argument lets a remote attacker inject script into the page (CWE-79). The attack needs user interaction, and a public exploit has been released.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

A security flaw has been discovered in SourceCodester Drug Recommendation System 1.0. Affected by this vulnerability is an unknown functionality of the file patient.php of the component Patient Registration. Performing a manipulation of the argument txtname results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.

Why it matters now

Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
SourceCodesterDrug Recommendation System1.0—No fix listedCNA
  • Drug Recommendation System VendorSourceCodester Affected 1.0 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*——SourceCodester
  • cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* Versions — — ·SourceCodester

Remediation

The sources list no fixed version for SourceCodester Drug Recommendation System.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Timeline

  1. 2026-12-01 Threatist record created from CVE-2026-140261

References

  • TI-2024-03188 SourceCodester Online Courseware deactivateteach.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-03160 SourceCodester Computer Laboratory Management System config.php redirect CVSS 3.1CRITICAL 9.8
  • TI-2024-03131 SourceCodester Airline Ticket Reservation System activate_jet_details_form_handler.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2024-01794 SourceCodester Web-Based Student Clearance System login.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-05341 SourceCodester Simple Real Estate Portal System view_estate.php sql injection CVSS 3.1CRITICAL 9.8
  • TI-2023-04857 SourceCodester Engineers Online Portal remove_inbox_message.php sql injection CVSS 3.1CRITICAL 9.8
See all 2096 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences