SecurityContext

CVE-2022-30015: Simple Food Website - Stored XSS

  • Cve: CVE-2022-30015
  • Name: Simple Food Website - Stored XSS
  • Description: In Simple Food Website 1.0, a moderation can put the Cross Site Scripting Payload in any of the fields on http://127.0.0.1:1234/food/admin/all_users.php like Full Username, etc .This causes stored xss.
  • Impact: Attackers can execute arbitrary scripts in victim browsers, potentially stealing cookies, session tokens, or performing actions on behalf of users.
  • Remediation: Implement input validation and output encoding on all user input fields, and sanitize inputs to prevent script injection.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs moderation access to input malicious payloads
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00544
  • Epss percentile: 0.46303
  • Assignee: [email protected]
  • Published at: 2022-05-23T21:16:05Z
  • Age in days: 1646
  • Modified at: 2026-06-17T04:42:58Z
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30015
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/offsecin/bugsdisclose/blob/main/xssnvd2022-05-23
https://www.sourcecodester.com/php/12510/simple-food-website-php.htmlnvd2022-05-23

References

UrlSourceTags
https://github.com/offsecin/bugsdisclose/blob/main/xssnvdExploit, Third Party Advisory
https://www.sourcecodester.com/php/12510/simple-food-website-php.htmlnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
simple_food_website_project:simple_food_website= 1.0nonvd/v1/products/simple_food_website_project/simple_food_website

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-05-23
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts