Sitecore / Sitecore/XM-Cloud-Introduction

MVP site: Profile avatar photos hosted on community.sitecore.com were blocked by the CSP

Open
#593 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
CSS
Stars
52
Forks
58
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Profile avatar photos hosted on community.sitecore.com were blocked by the CSP, causing images to fail to load.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://mvp.sitecore.com/en/Directory/Profile?id=2b70387b4b2940c8d1af08de30994791'
  2. See error

Expected behavior
Avatar photos from community.sitecore.com should load successfully without being blocked by the Content Security Policy. Users viewing profile pages will see the avatar images displayed correctly instead of broken image icons or CSP violation errors in the browser console..

Screenshots

Image

Desktop:

  • OS: Win11
  • Browser: chrome

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the linked Directory/Profile URL in Chrome and checking the browser console for the CSP violation. Locate the MVP site's CSP configuration, allow the community.sitecore.com image source, and verify that the profile avatar loads without a CSP error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs
Domain
frontend, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.