0.191.1
3 years ago
1 hours ago
Known vulnerabilities in the @sveltia/cms package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
@sveltia/cms is a Sveltia CMS is a modern, lightweight, Git-based headless content management system. Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the Markdown/RichText preview rendering process. An attacker can execute arbitrary JavaScript in the context of the CMS by injecting a crafted How to fix Cross-site Scripting (XSS)? Upgrade | <0.167.3 |
@sveltia/cms is a Sveltia CMS is a modern, lightweight, Git-based headless content management system. Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the entry summary rendering process. An attacker can execute arbitrary JavaScript in the browser of users viewing affected entry lists or search results by injecting specially crafted entity-encoded HTML into content sources loaded by the application. This is only exploitable if an attacker can place malicious content into the repository or content source that the application loads. # WorkaroundThis vulnerability can be mitigated by avoiding loading content from untrusted authors, reviewing content for entity-encoded HTML payloads in fields used by entry summaries, disabling Markdown-enabled summary rendering for untrusted content, or restricting repository write access to trusted users only. How to fix Cross-site Scripting (XSS)? Upgrade | <0.160.1 |