SecurityContext

CVE-2021-40975: Ecommerce-CodeIgniter-Bootstrap - Reflected XSS

  • Cve: CVE-2021-40975
  • Name: Ecommerce-CodeIgniter-Bootstrap - Reflected XSS
  • Description: Cross-site scripting (XSS) vulnerability in application/modules/admin/views/ecommerce/products.php in Ecommerce-CodeIgniter-Bootstrap (Codeigniter 3.1.11, Bootstrap 3.3.7) allows remote attackers to inject arbitrary web script or HTML via the search_title parameter.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking, defacement, or redirection.
  • Remediation: Implement proper input sanitization and output encoding, and update to the latest version of the application if available.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim must load a malicious URL
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00838
  • Epss percentile: 0.58722
  • Assignee: [email protected]
  • Published at: 2021-10-01T16:15:07Z
  • Age in days: 1880
  • Modified at: 2026-06-17T04:07:41Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40975
  • 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/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/blob/c546a716ba56e8e33b3a5def1c18a6d89c3608f5/application/modules/admin/views/ecommerce/products.php#L37nvd2021-10-01

References

UrlSourceTags
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/blob/c546a716ba56e8e33b3a5def1c18a6d89c3608f5/application/modules/admin/views/ecommerce/products.php#L37nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ecommerce-codeigniter-bootstrap_project:ecommerce-codeigniter-bootstrapall versionsnonvd/v1/products/ecommerce-codeigniter-bootstrap_project/ecommerce-codeigniter-bootstrap

Index

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

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-10-01
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts