The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JSD Widget SRI integrity, crossorigin CORS error

Rose McCluskey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2023

Hello,

Our application security team has flagged the JSD widget as an issue. The complaint is about sub-resource integrity for the embed.js script from Atlassian. The recommendation is to add integrity and cross-origin properties to the <script> tag.

For example, changing this:

        <script data-jsd-embedded
                data-key="12345"
                data-base-url="https://jsd-widget.atlassian.com"
                src="https://jsd-widget.atlassian.com/assets/embed.js"></script>
 
To this:
 
        <script data-jsd-embedded
                data-key="12345"
                data-base-url="https://jsd-widget.atlassian.com"
                src="https://jsd-widget.atlassian.com/assets/embed.js"
                integrity="sha384-abcde12345/zyxwv+09876"
                crossorigin="anonymous"></script>

However, this change results in the following errors: "Access to script at 'https://jsd-widget.atlassian.com/assets/embed.js' from origin 'http://myco.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

and "GET https://jsd-widget.atlassian.com/assets/embed.js net::ERR_FAILED 200"

Has anyone else encountered this issue and found a solution, outside of removing the widget?

Can Atlassian please include the 'Access-Control-Allow-Origin' header?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Rodrigo Pantigas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2024

I'm having the same issue! Had to give up using the widget until something change!

Any plans!?

0 votes
Surya Mohan Reddy Kamini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 7, 2024

I am having same issue. any update on this ? We are working on security certification and this the only blocker

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events