Skip to content

fix potential vulnerability when fetching remote json data#700

Open
alphatownsman wants to merge 1 commit intojointakahe:mainfrom
neodb-social:json-vulnerability
Open

fix potential vulnerability when fetching remote json data#700
alphatownsman wants to merge 1 commit intojointakahe:mainfrom
neodb-social:json-vulnerability

Conversation

@alphatownsman
Copy link
Copy Markdown
Contributor

@alphatownsman alphatownsman commented Feb 19, 2024

when fetching remote actor or status, content type must be one of:

  • "application/ld+json"
  • "application/activity+json"

I did not apply this check to:

  • nodeinfo
  • web finger

because I don't think we have to, but open to be convinced otherwise

@AstraLuma
Copy link
Copy Markdown
Contributor

I think this is partially redundant with #679

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants