Skip to content

[security] Block SVG images? #2

Closed

Activity

  1. added
    server
    on Feb 5, 2020
  2. added
    priority:low
    on Jan 13, 2023
  3. added
    security
    on Mar 17, 2026
  4. netomi commented on Apr 20, 2026

    @netomi
    Contributor

    #1766 added support for specifying a list of blocked icon formats (svg being the default).

  5. 0009-0009-1013-986X commented on Apr 20, 2026

    @0009-0009-1013-986X

    @netomi, why have SVG as a default entrant? I ask per meta.discourse.org/t/212333/20, which appears to indicate that other, massive platforms, cope with user-uploaded SVGs well.

  6. netomi commented on Apr 20, 2026

    @netomi
    Contributor

    as open-vsx is basically a clone of the VSC marketplace, it is sensible to use similar validation rules. user-controlled svg images are a security issue unless you handle them very carefully. Virtually no extension uploaded to open-vsx.org uses svg images, but we want to enforce that at publication time.

    In the future we might wanna support svg images, but for now there is absolutely no need imho.

  7. 0009-0009-1013-986X commented on Apr 20, 2026

    @0009-0009-1013-986X

    In the future we might wanna support svg images, but for now there is absolutely no need imho.

    @netomi, they're significantly more accessible than raster images when they include text, and, when used for branding, they're quicker to load for those with slow internet connections.

  8. netomi commented on Apr 20, 2026

    @netomi
    Contributor

    I suggest that you raise that issue with VS Code (and all its clones) as it does not display svg images, so there is absolutely no point in allowed that for a registry whose main purpose is to provide extensions for VS Code and clones.

  9. added a commit that references this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:lowsecurityserver

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions