mirror of
https://github.com/finmars-platform/finmars-vue-portal.git
synced 2026-04-26 23:05:57 +03:00
[GH-ISSUE #37] Stored XSS vulnerability in marketplace item descriptions #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/finmars-vue-portal#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Moltivie on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/finmars-platform/finmars-vue-portal/issues/37
Summary
A critical stored XSS vulnerability exists in the marketplace feature that allows attackers to inject malicious JavaScript through marketplace item descriptions, which are rendered unsanitized using
v-html.Vulnerability Details
Location:
github.com/finmars-platform/finmars-vue-portal@496d349f2c/src/pages/marketplace/[id].vue (L36)Attack Vector
https://marketplace.finmars.com/api/v1/configuration/{id}/pushConfigurationToMarketplace.putendpoint with username/password authenticationImpact
access_token,refresh_token,id_token) are accessible via JavaScript (cookies lackhttpOnlyflag)Proof of Concept
An attacker publishes a marketplace configuration with this description:
When victims browse to
/marketplace/{id}, the payload executes and sends their authentication tokens to the attacker.Reproduction Steps
marketplace.finmars.comdescriptionfieldAffected Code Path
Additional Vulnerable Locations
Similar unsanitized
v-htmlusage found in:src/components/modal/DownloadFile.vue:22,30(CSV file preview)src/components/common/FilePreview.vue:37(File content preview)src/components/Fm/UnifiedDataSelect/helper.js:8(Search highlighting)src/stores/useWhiteLabelStore.js:57,61(Custom CSS injection)These should be reviewed as part of a comprehensive XSS remediation effort.
Questions