Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

SC-598 CHORE Disable unused html routes, XSS vuln averted #33

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

omnikron
Copy link

@omnikron omnikron commented Oct 30, 2023

https://strava.atlassian.net/browse/SC-598

There was a potential (if unlikely) XSS vulnerability inherent in our rendering
of html that has come from outside sources.

There would probably be better ways to fix this, but since this service is slated for removal soon - have taken the machete approach and simply removed all html routes from the app, so that it now only serves JSON via /api/<:resort> route – which AFAIK is the only one we need.

@omnikron omnikron requested review from a team and JMJustas October 30, 2023 15:54
@omnikron omnikron force-pushed the SC-598-disable-liftie-html-site branch from f41f84d to 90646a5 Compare October 30, 2023 15:56
@omnikron omnikron force-pushed the SC-598-disable-liftie-html-site branch from 90646a5 to 8bd2947 Compare October 30, 2023 15:57
Copy link

@JMJustas JMJustas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we definitely don't need the html routes. Hopefully we will be able to kill this service altogether :)

@omnikron omnikron merged commit 26754c9 into master Oct 31, 2023
3 checks passed
@omnikron omnikron deleted the SC-598-disable-liftie-html-site branch October 31, 2023 08:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants