@sveltia/cms@0.167.1

Sveltia CMS is a modern, lightweight, Git-based headless content management system.

  • latest version

    0.170.0

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @sveltia/cms package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    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
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    @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 iframe element with a same-origin or relative path source into Markdown content, allowing access to the parent window's DOM, state, and browser storage, and enabling actions within the CMS context. This is only exploitable if the attacker can place malicious content into the repository or content source loaded by the CMS.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @sveltia/cms to version 0.167.3 or higher.

    <0.167.3