Skip to content

Is there a security risk with ly.colorize.HtmlWriter? #43

@uliska

Description

@uliska

I am using the HtmlWriter to colorize code in a GitBook.
For that I'm passing an arbitrary string into HtmlWriter.html() that stems from arbitrary authors They do have to have push access to the repository but on the long run this should be considered as "unsanitized" input. (I might for example open this up in the future to allow people with self-created accounts edit this and forget about this issue).

So: is there a possible injection risk with that function or will it always "only" return useless results with non-LilyPond input?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions