cleodora-forecasting / cleodora-forecasting/cleodora

cleosrv: Automatically ensure all textual input is HTML escaped to prevent XSS

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
24
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It's already the case for forecast creation, but it's easy to forget when adding new operations. Ideally it should be the default for any textual input. In a later increment it might be desirable to allow for some safe HTML so people can style e.g. the forecast description. Alternatively supporting markdown would be great.

Contributor guide

Open the contributing guide

Research direction

Start in cleosrv by locating the existing HTML escaping used for forecast creation and tracing how other textual inputs enter the application. Define the default escaping behavior for every textual input, then verify that user-provided text cannot produce executable HTML or script content; the issue also leaves safe HTML and Markdown as unresolved alternatives.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.