Update dependency @backstage/catalog-model to v1.2.0 [SECURITY] #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.1.1
->1.2.0
GitHub Vulnerability Alerts
CVE-2023-25571
Impact
This vulnerability allows a malicious actor with access to add or modify content in an instance of the Backstage software catalog to inject script URLs in the entities stored in the catalog. If users of the catalog then click on said URLs, that can lead to an XSS attack.
Patches
This vulnerability has been patched in both the frontend and backend implementations. The default
Link
component from@backstage/core-components
will now rejectjavascript:
URLs, and there is a global override ofwindow.open
to do the same.In addition the catalog model as well as the catalog backend now has additional validation built in that prevents
javascript:
URLs in known annotations.Workarounds
The general practice of limiting access to modifying catalog content and requiring code reviews greatly helps mitigate this vulnerability.
For more information
If you have any questions or comments about this advisory:
Release Notes
backstage/backstage (@backstage/catalog-model)
v1.2.0
Compare Source
Minor Changes
d516688
: Adds the tRPC API type to the catalog.Patch Changes
aece6c5
: Add additional validation for location references.2518ef5
: Add deprecation tag to kubernetes constants in catalog, constants are now defined in plugin-kubernetes-commonv1.1.5
Compare Source
Patch Changes
011bd51
: Fixed spelling mistakes in documentation.v1.1.4
Compare Source
Patch Changes
v1.1.3
Compare Source
Patch Changes
7573b65
: Internal refactor of imports to avoid circular dependenciesv1.1.2
Compare Source
Patch Changes
6f3b8d0
: Deferajv
compilation of schema validators to improve module-import performanceConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.