{"id":"GHSA-v9w2-v7j9-rjpr","summary":"Remote code execution in Eclipse Theia","details":"In Eclipse Theia 0.3.9 to 1.8.1, the \"mini-browser\" extension allows a user to preview HTML files in an iframe inside the IDE. But with the way it is made it is possible for a previewed HTML file to trigger an RCE. This exploit only happens if a user previews a malicious file.","aliases":["CVE-2021-34435"],"modified":"2023-11-08T04:06:07.936867Z","published":"2021-09-02T22:02:36Z","database_specific":{"cwe_ids":["CWE-346","CWE-668","CWE-942"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-09-02T17:12:13Z","nvd_published_at":"2021-09-01T18:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34435"},{"type":"WEB","url":"https://github.com/eclipse-theia/theia/pull/8759"},{"type":"WEB","url":"https://github.com/eclipse-theia/theia/commit/0761dcf5fe3c14c27432683d42d2c526ad0cfbd5"},{"type":"WEB","url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=568018"},{"type":"PACKAGE","url":"https://github.com/eclipse-theia/theia"}],"affected":[{"package":{"name":"@theia/mini-browser","ecosystem":"npm","purl":"pkg:npm/%40theia/mini-browser"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.9"},{"fixed":"1.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-v9w2-v7j9-rjpr/GHSA-v9w2-v7j9-rjpr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}