VYPR
Medium severity5.7OSV Advisory· Published Jan 24, 2025· Updated Apr 15, 2026

CVE-2024-57277

CVE-2024-57277

Description

InnoShop V.0.3.8 and below is vulnerable to Cross Site Scripting (XSS) via SVG file upload.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

InnoShop v0.3.8 and below allows stored XSS via SVG file upload, enabling cookie theft and account takeover.

InnoShop versions 0.3.8 and earlier contain a stored cross-site scripting (XSS) vulnerability in the user profile image upload feature. The application fails to sanitize SVG files, allowing an attacker to upload a crafted SVG containing embedded JavaScript. When the uploaded image is viewed by any user (including administrators), the script executes in the victim's browser. [1]

The attack can be performed by any authenticated user. The attacker navigates to Profile > Edit Profile and uploads a malicious SVG file. The SVG includes a ` tag that reads document.cookie` and can exfiltrate session cookies. The attack does not require any special privileges beyond a valid user account. [1][3]

Successful exploitation allows an attacker to steal the session cookie of any user who views the malicious image. This cookie can be used to impersonate the victim and perform actions on their behalf, potentially leading to account takeover. If a low-privileged user uploads the SVG and an administrator views it, the attacker can steal the admin's session. [1][3]

The vendor has addressed the issue in commit 7ccc90d2b549e14460efc4f758b01adbd080e7ff by restricting the allowed image MIME types for front-end users to exclude SVG. The fix was applied to the file innopacks/front/src/Requests and is included in the repository. Users should update to a version containing this commit or apply a similar validation rule to prevent SVG uploads. [2]

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Innocommerce/InnoshopOSV2 versions
    v0.1.1, v0.2.0, v0.2.1, …+ 1 more
    • (no CPE)range: v0.1.1, v0.2.0, v0.2.1, …
    • (no CPE)range: <=0.3.8

Patches

1

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.