Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/47516?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47516?format=api", "vulnerability_id": "VCID-s9bd-8czt-fbcg", "summary": "File upload local preview can run embedded scripts after user interaction\n### Impact\n\nWhen uploading a file, the local file preview can lead to execution of scripts embedded in the uploaded file, but only after several user interactions to open the preview in a separate tab. This only impacts the local user while in the process of uploading. It cannot be exploited remotely or by other users.\n\n### Patches\n\nThis has been fixed by https://github.com/matrix-org/matrix-react-sdk/pull/5981, which is included in 3.21.0.\n\n### Workarounds\n\nThere are no known workarounds.", "aliases": [ { "alias": "GHSA-8796-gc9j-63rv" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/77120?format=api", "purl": "pkg:npm/matrix-react-sdk@3.21.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1g1f-1x88-tbg5" }, { "vulnerability": "VCID-3s7z-6bqr-rqd1" }, { "vulnerability": "VCID-e42f-h16f-gkbf" }, { "vulnerability": "VCID-k3ft-j7d1-nkh7" }, { "vulnerability": "VCID-ybpz-t956-k7fb" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/matrix-react-sdk@3.21.0" } ], "affected_packages": [], "references": [ { "reference_url": "https://github.com/matrix-org/matrix-react-sdk", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/matrix-org/matrix-react-sdk" }, { "reference_url": "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.2", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L" }, { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/matrix-org/matrix-react-sdk/security/advisories/GHSA-8796-gc9j-63rv" }, { "reference_url": "https://github.com/advisories/GHSA-8796-gc9j-63rv", "reference_id": "GHSA-8796-gc9j-63rv", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-8796-gc9j-63rv" } ], "weaknesses": [ { "cwe_id": 74, "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')", "description": "The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component." } ], "exploits": [], "severity_range_score": "4.0 - 6.9", "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-s9bd-8czt-fbcg" }