Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security: Ensure type safety of dependent fields #33486

Merged
merged 5 commits into from
Dec 19, 2024

Conversation

Anush2303
Copy link
Contributor

New Behavior

Ensured type safety of these fields in plotly adapater

layout.width
layout.height
firstData.textfont?.size and other fields.

For eg: If the attacker can supply a payload which has a string value for firstData.textfont?.size property such as 14px; background-image: url(...) I don't expect the style library to provide protection in this case.

Related Issue(s)

  • Fixes #

@Anush2303 Anush2303 marked this pull request as ready for review December 18, 2024 12:16
@Anush2303 Anush2303 requested a review from a team as a code owner December 18, 2024 12:16
Copy link

github-actions bot commented Dec 18, 2024

📊 Bundle size report

✅ No changes found

Copy link

Pull request demo site: URL

@AtishayMsft AtishayMsft merged commit da882f4 into master Dec 19, 2024
18 checks passed
@AtishayMsft AtishayMsft deleted the usr/agupta/plotly/typecheck branch December 21, 2024 01:19
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.

3 participants