CVE-2022-40348
Description
Cross Site Scripting (XSS) vulnerability in Intern Record System version 1.0 in /intern/controller.php in 'name' and 'email' parameters, allows attackers to execute arbitrary code.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in Intern Record System 1.0 via unsanitized 'name' and 'email' parameters allows attackers to execute arbitrary script in admin context.
Vulnerability
Intern Record System version 1.0 contains a stored cross-site scripting (XSS) vulnerability in the /intern/controller.php endpoint. The application fails to sanitize user-supplied input in the name and email parameters before storing it in the database. When an administrator views the intern records on /intern/view.php, the stored payload executes in the browser. The vulnerable version is 1.0, as provided by code-projects.org [1][2].
Exploitation
An unauthenticated attacker can send a POST request to /intern/controller.php with malicious JavaScript in the name or email parameter. No authentication is required because the controller endpoint is publicly accessible. The payload is stored and later triggered when an admin visits the /intern/view.php page. The attacker does not need any special privileges; the only requirement is that the admin views the affected records. Example payloads include ` and ` [1].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the admin's browser. This can lead to theft of session cookies, defacement, or further attacks against the admin session. The impact is limited to the browser of the viewing user, but because the admin has elevated privileges, cookie theft could lead to account takeover [1].
Mitigation
As of the publication date (2023-02-18), no official patch has been released. The vendor (code-projects.org) has not provided an update. Users should implement input validation and output encoding for the name and email fields, or consider disabling the vulnerable functionality until a fix is available. The software is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog [1][2].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Intern Record System/Intern Record Systemdescription
- Range: =1.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2News mentions
0No linked articles in our index yet.