Lucene search
K

📄 OpenCart 4.1.0.4 Cross Site Scripting

🗓️ 26 Jun 2025 00:00:00Reported by Alasdair Gorniak, Hamed KohiType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 194 Views

OpenCart 4.1.0.4 stores cross site scripting via blog editor and SVG uploads, enabling script execution.

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-45892
26 Jul 202521:02
circl
Circl
CVE-2025-45893
26 Jul 202521:02
circl
CNNVD
OpenCart 安全漏洞
25 Jul 202500:00
cnnvd
CNNVD
OpenCart 安全漏洞
25 Jul 202500:00
cnnvd
CVE
CVE-2025-45892
25 Jul 202500:00
cve
CVE
CVE-2025-45893
25 Jul 202500:00
cve
Cvelist
CVE-2025-45892
25 Jul 202500:00
cvelist
Cvelist
CVE-2025-45893
25 Jul 202500:00
cvelist
EUVD
EUVD-2025-22729
3 Oct 202520:07
euvd
EUVD
EUVD-2025-22732
3 Oct 202520:07
euvd
Rows per page
*CVE-2025-45892 – Stored XSS via Blog Editor*
    
    *Affected Versions*: OpenCart 4.1.0.4 and below
    *Vector*: Stored XSS
    *Attack Surface*: Blog editor input
    *Description*: Input to the blog editor is rendered without sufficient
    sanitization, allowing JavaScript injection.
    *PoC*:
    
       1.
    
       Navigate to the blog editor in the admin panel.
       2.
    
       Insert the following payload:
    
       <script>alert('XSS');</script>
    
       3.
    
       Save and view the blog post. The script executes when the post is viewed.
    
    ------------------------------
    
    *CVE-2025-45893 – Stored XSS via SVG Upload*
    
    *Affected Versions*: OpenCart 4.1.0.4 and below
    *Vector*: Stored XSS via file upload
    *Attack Surface*: SVG uploads through the media manager
    *Description*: SVG files are not properly sanitized. JavaScript embedded
    within them executes upon rendering.
    *PoC*:
    
       1.
    
       Create a malicious SVG file:
    
       <svg xmlns="http://www.w3.org/2000/svg">
         <script>alert('SVG XSS');</script>
       </svg>
    
       2.
    
       Upload it via the media manager and insert it into a blog post.
       3.
    
       Viewing the post triggers the JavaScript.

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

26 Jun 2025 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 3.16.1
EPSS0.00167
SSVC
194