CVE-2026-94045
Received Received - Intake

Cross-Site Scripting in newbee-mall E-Commerce Platform

Vulnerability report for CVE-2026-94045, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-20

Last updated on: 2026-09-20

Assigner: VulDB

Description

A security flaw has been discovered in newbee-ltd newbee-mall up to 1.0.0. Impacted is an unknown function of the file controller/common/UploadController.java of the component Goods Save Endpoint. Performing a manipulation of the argument goodsName results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. ImageIO.read() is a format-agnostic read - it returns non-null for a polyglot PNG|<img onerror> payload, which is exactly why the "image-only" guard is bypassable; the attacker-controlled suffix + /upload/** static mapping is what turns the upload into persisted XSS rather than a one-shot. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-20
Last Modified
2026-09-20
Generated
2026-09-21
AI Q&A
2026-09-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
newbee-ltd newbee-mall to 1.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stored cross-site scripting (XSS) flaw in the newbee-mall e-commerce platform up to version 1.0.0. It occurs in the Goods Save Endpoint where the goodsName argument is manipulated to inject malicious scripts. Attackers exploit a bypass in image validation by using polyglot PNG files containing HTML payloads, which are then stored on the server and executed when other users access the content.

Detection Guidance

To detect this vulnerability, inspect file upload endpoints in newbee-mall for improper file extension validation. Check if ImageIO.read() accepts polyglot PNG|<img onerror> payloads. Review server logs for unexpected script execution in uploaded content. Test by uploading files with malicious payloads like PNG|<img onerror=alert(1)> and verify if they persist and execute.

Impact Analysis

This vulnerability allows attackers to inject and store malicious scripts on the server. When other users access the affected content, the scripts execute in their browsers, potentially stealing session cookies, credentials, or sensitive data. It could also deface the website or redirect users to malicious sites.

Compliance Impact

This vulnerability enables stored cross-site scripting (XSS) attacks, which could allow unauthorized code execution on the server. This may lead to data breaches, unauthorized access to sensitive information, or manipulation of user sessions, potentially violating GDPR's data protection requirements and HIPAA's safeguards for protected health information.

Mitigation Strategies

Immediately implement strict file extension whitelisting for uploads. Validate file content beyond BufferedImage checks to block polyglot files. Sanitize user-controlled inputs like goodsName to prevent XSS. Monitor for suspicious uploads and remove any malicious files. Consider disabling file uploads until patches are applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-94045. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart