Skip to content

Content text being rendered as HTML #391

@rgaudin

Description

@rgaudin

If you look at this comment on Stack Overfow, you'll notice it mentions BufReader<Input> in a <code /> block (used backtick on SO).

Image

Now look at the corresponding entry on browse (question ID: 70462689, Title: Rust: Wrapping a BufRead in Mutex while still implementing BufRead), you'll see that this comment has its <Input> been replaced by an HTMLInputElement.

Image

It seems the <code /> block was ignored in the comment text and whatever the content being, it is considered safe (in Jinja's sense).

Safe to assume this could be exploited by malicious ZIM content, thus the label.


Brought to our attention by https://www.ncsc.nl/

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions