{"exploit":{"id":"EDB-47331","name":"Opencart 3.x - Cross-Site Scripting (XSS)","description":"Opencart 3.x - Cross-Site Scripting (XSS)","cves":["CVE-2019-15081"],"author":"Nipun Somani","published":"2019-09-02","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/47331","path":"exploits/php/webapps/47331.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-47331.txt","vulnerabilities":[{"id":"CVE-2019-15081","state":"PUBLISHED","title":null,"titleSource":null,"description":"OpenCart 3.x, when the attacker has login access to the admin panel, allows stored XSS within the Source/HTML editing feature of the Categories, Product, and Information pages.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2019-15081","cvss":{"version":"3.1","baseScore":4.8,"severity":"medium","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2019-15081"},"updatedAt":"2024-08-05T00:34:53.276Z","retrievedAt":"2026-11-26T08:15:31.606Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-47331.png?v=2","url":"https://exploitbin.com/exploits/EDB-47331","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-47331/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-47331/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Opencart 3.x.x Authenticated Stored XSS\n# Date: 08/15/2019\n# Exploit Author: Nipun Somani\n# Author Web: http://thehackerstore.net\n# Vendor Homepage: https://www.opencart.com/\n# Software Link: https://github.com/opencart/opencart\n# Version: 3.x.x\n# Tested on: Debian 9, Windows 10 x64\n# CVE : CVE-2019-15081\n\n\nDescription:\nThe Opencart Version 3.x.x allows editing Source/HTML of the Categories /\nProduct / Information pages in the admin panel which isn't sanitized to\nuser input allowing for an attacker to execute arbitrary javascript code\nleading to Stored Cross-Site-Scripting(XSS).\n\nProof-of-Concept(POC):\n\n1. Log-in to admin-panel.\n2. Navigate to Catlog and then select any of [Categories or Products or Information] options and and pick any entry or create one.\n3. Under description click on Source option and insert your XSS payload.\ni.e: \"><script>alert(\"XSS\")</script>\n4. Now visit the modified page of your public website. And your injected XSS payload will execute.","sha256":"99c1ab641f6d55ee04679bb0e5a6331c657c54fcad2d893c27f28585419733c6","bytes":993,"fetchedAt":"2026-11-26T14:06:48.505Z","encoding":"utf-8 (display only; download retains original bytes)"}