SecurityContext

CVE-2022-27330: E-Commerce Website - Reflected XSS

  • Cve: CVE-2022-27330
  • Name: E-Commerce Website - Reflected XSS
  • Description: A cross-site scripting (XSS) vulnerability in /public/admin/index.php?add_product of E-Commerce Website v1.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Product Title text field.
  • Impact: Attackers can execute malicious scripts in the victim's browser, leading to session hijacking, defacement, or redirection.
  • Remediation: Implement proper input sanitization and output encoding for the Product Title field.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft a malicious payload in the Product Title field
  • 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.00562
  • Epss percentile: 0.47638
  • Assignee: [email protected]
  • Published at: 2022-05-03T20:15:09Z
  • Age in days: 1666
  • Modified at: 2026-06-17T04:36:55Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-27330
  • 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/CP04042K/Full-Ecommece-Website-Add_Product-Stored_XSS-POCnvd2022-05-03

References

UrlSourceTags
https://github.com/CP04042K/Full-Ecommece-Website-Add_Product-Stored_XSS-POCnvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
e-commerce_website_project:e-commerce_website= 1.0nonvd/v1/products/e-commerce_website_project/e-commerce_website

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-05-03
  • 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