2.1 LOW
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): None (N)
- User Interaction (UI): Active (A)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): Low (L)
- Subsequent System Impact Integrity (SI): Low (L)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Active (A)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Low (L)
- Modified Subsequent System Impact Integrity (MSI): Low (L)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands
Astro is a web framework for content-driven websites. In versions 3.10.0 through 7.0.3, when a transition:persist, transition:scope, or transition:persist-props directive is applied to a client-hydrated (client:*) component, Astro copied the directive value onto the rendered <astro-island> element without HTML-escaping it. If a developer reflects attacker-controlled input into one of these directives, an attacker can break out of the attribute and inject arbitrary HTML/JavaScript into the server-rendered output, resulting in reflected cross-site scripting (XSS). Exploitation requires the application developer to have written a non-idiomatic pattern — passing untrusted, request-derived input directly into a transition directive. Astro applications that do not route untrusted input into these directives are unaffected. This issue has been fixed in version 7.0.4.
References
-
https://github.com/withastro/astro/security/advisories/GHSA-7pw4-f3q4-r2p2 x_refsource_CONFIRM
-
https://github.com/withastro/astro/pull/17212 x_refsource_MISC
-
https://github.com/withastro/astro/releases/tag/astro@7.0.4 x_refsource_MISC
Affected products
- ==>= 3.10.0, < 7.0.4
Matching in nixpkgs
pkgs.astroid
GTK frontend to the notmuch mail system
pkgs.astrolog
Freeware astrology program
pkgs.gnuastro
GNU astronomy utilities and library
pkgs.astroterm
Celestial viewer for the terminal, written in C
pkgs.astromenace
Hardcore 3D space shooter with spaceship upgrade possibilities
pkgs.sddm-astronaut
Modern looking qt6 sddm theme
-
nixos-unstable 0-unstable-2026-06-17
- nixpkgs-unstable 0-unstable-2026-06-17
- nixos-unstable-small 0-unstable-2026-07-06
-
nixos-26.05 0-unstable-2026-05-12
- nixos-26.05-small 0-unstable-2026-05-12
- nixpkgs-26.05-darwin 0-unstable-2026-05-12
pkgs.astrolabe-generator
Java-based tool for generating EPS files for constructing astrolabes and related tools
pkgs.typstPackages.astro
None
pkgs.astro-language-server
Astro language server
pkgs.python313Packages.astroid
Abstract syntax tree for Python with inference support
pkgs.python313Packages.astropy
Astronomy/Astrophysics library for Python
pkgs.python314Packages.astroid
Abstract syntax tree for Python with inference support
pkgs.python314Packages.astropy
Astronomy/Astrophysics library for Python
pkgs.typstPackages.astro_0_1_0
None
pkgs.indi-3rdparty.indi-astroasis
Third party drivers for the INDI astronomical software suite
-
nixos-unstable 3rdparty-indi-astroasis-2.2.0
- nixpkgs-unstable 3rdparty-indi-astroasis-2.2.0
- nixos-unstable-small 3rdparty-indi-astroasis-2.2.0
-
nixos-26.05 3rdparty-indi-astroasis-2.2.0
- nixos-26.05-small 3rdparty-indi-astroasis-2.2.0
- nixpkgs-26.05-darwin 3rdparty-indi-astroasis-2.2.0
pkgs.perlPackages.AstroFITSHeader
Object-oriented interface to FITS HDUs
pkgs.python313Packages.astroquery
Functions and classes to access online data resources
pkgs.python314Packages.astroquery
Functions and classes to access online data resources
pkgs.perl5Packages.AstroFITSHeader
Object-oriented interface to FITS HDUs
pkgs.python313Packages.asdf-astropy
Extension library for ASDF to provide support for Astropy
pkgs.python314Packages.asdf-astropy
Extension library for ASDF to provide support for Astropy
pkgs.azure-cli-extensions.astronomer
Microsoft Azure Command-Line Tools Astronomer Extension
pkgs.python313Packages.pytest-astropy
Meta-package containing dependencies for testing
pkgs.python314Packages.pytest-astropy
Meta-package containing dependencies for testing
pkgs.python313Packages.astropy-healpix
BSD-licensed HEALPix for Astropy
pkgs.python313Packages.astropy-helpers
Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation
pkgs.python314Packages.astropy-healpix
BSD-licensed HEALPix for Astropy
pkgs.python314Packages.astropy-helpers
Utilities for building and installing Astropy, Astropy affiliated packages, and their respective documentation
pkgs.python313Packages.astropy-iers-data
IERS data maintained by @astrofrog and astropy.utils.iers maintainers
-
nixos-unstable 0.2026.1.19.0.42.31
- nixpkgs-unstable 0.2026.1.19.0.42.31
- nixos-unstable-small 0.2026.6.22.1.23.34
-
nixos-26.05 0.2026.1.19.0.42.31
- nixos-26.05-small 0.2026.1.19.0.42.31
- nixpkgs-26.05-darwin 0.2026.1.19.0.42.31
pkgs.python314Packages.astropy-iers-data
IERS data maintained by @astrofrog and astropy.utils.iers maintainers
-
nixos-unstable 0.2026.1.19.0.42.31
- nixpkgs-unstable 0.2026.1.19.0.42.31
- nixos-unstable-small 0.2026.6.22.1.23.34
-
nixos-26.05 0.2026.1.19.0.42.31
- nixos-26.05-small 0.2026.1.19.0.42.31
- nixpkgs-26.05-darwin 0.2026.1.19.0.42.31
pkgs.tree-sitter-grammars.tree-sitter-astro
Tree-sitter grammar for astro
-
nixos-unstable 0-unstable-2025-04-23
- nixpkgs-unstable 0-unstable-2025-04-23
- nixos-unstable-small 0-unstable-2025-04-23
-
nixos-26.05 0-unstable-2025-04-23
- nixos-26.05-small 0-unstable-2025-04-23
- nixpkgs-26.05-darwin 0-unstable-2025-04-23
pkgs.python313Packages.pytest-astropy-header
Plugin to add diagnostic information to the header of the test output
pkgs.python314Packages.pytest-astropy-header
Plugin to add diagnostic information to the header of the test output
pkgs.vimPlugins.nvim-treesitter-parsers.astro
Tree-sitter grammar for astro
-
nixos-unstable 0.0.0+rev=213f6e6
- nixpkgs-unstable 0.0.0+rev=213f6e6
- nixos-unstable-small 0.0.0+rev=213f6e6
-
nixos-26.05 0.0.0+rev=213f6e6
- nixos-26.05-small 0.0.0+rev=213f6e6
- nixpkgs-26.05-darwin 0.0.0+rev=213f6e6
pkgs.vscode-extensions.astro-build.astro-vscode
Astro language support for VS Code
pkgs.python313Packages.tree-sitter-grammars.tree-sitter-astro
Python bindings for tree-sitter-astro
-
nixos-unstable 0+unstable20250423
- nixpkgs-unstable 0+unstable20250423
- nixos-unstable-small 0+unstable20250423
-
nixos-26.05 0+unstable20250423
- nixos-26.05-small 0+unstable20250423
- nixpkgs-26.05-darwin 0+unstable20250423
pkgs.python314Packages.tree-sitter-grammars.tree-sitter-astro
Python bindings for tree-sitter-astro
-
nixos-unstable 0+unstable20250423
- nixpkgs-unstable 0+unstable20250423
- nixos-unstable-small 0+unstable20250423
-
nixos-26.05 0+unstable20250423
- nixos-26.05-small 0+unstable20250423
- nixpkgs-26.05-darwin 0+unstable20250423
Package maintainers
-
@god464 god464
-
@MiniHarinn Harinn <prinn.dev@pm.me>
-
@SuprDewd Bjarki Ágúst Guðmundsson <suprdewd@gmail.com>
-
@bdimcheff Brandon Dimcheff <brandon@dimcheff.com>
-
@kmein Kierán Meinhardt <kmein@posteo.de>
-
@fgaz Francesco Gazzetta <fgaz@fgaz.me>
-
@da-luce Dalton Luce <daltonluce42@gmail.com>
-
@katexochen Paul Meyer <katexochen0@gmail.com>
-
@sikmir Nikolay Korotkiy <sikmir@disroot.org>
-
@sheepforce Phillip Seeber <phillip.seeber@googlemail.com>
-
@returntoreality Linus Karl <linus@lotz.li>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>
-
@KentJames James Kent <jameschristopherkent@gmail.com>
-
@doronbehar Doron Behar <me@doronbehar.com>
-
@smaret Sébastien Maret <sebastien.maret@icloud.com>
-
@A-jay98 Ali Jamadi <ali@jamadi.me>
-
@stepbrobd Yifei Sun <ysun@hey.com>
-
@adfaure Adrien Faure <adfaure@pm.me>
-
@mightyiam Shahar "Dawn" Or <mightyiampresence@gmail.com>
-
@DaniD3v DaniD3v <sch220233@spengergasse.at>
-
@uxodb uxodb
-
@qweered Aliaksandr Samatyia <grubian2@gmail.com>
-
@aciceri Andrea Ciceri <andrea.ciceri@autistici.org>