5.3 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- 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): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- 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: Reflected XSS via unescaped View Transition animation properties
Astro is a web framework for content-driven websites. From 2.9.0 until 7.1.0, Astro's server-side View Transition CSS generator interpolates animation properties into an inline style element without escaping them for CSS and HTML contexts. An attacker-controlled View Transition animation value such as duration can terminate the generated style element and inject arbitrary HTML or JavaScript. The affected code is packages/astro/src/runtime/server/transition.ts; renderTransition passes sheet.toString() into markHTMLString(), while addAnimationProperty serializes duration through toTimeValue() and also handles easing, direction, delay, fillMode, and name. Exploitation requires an on-demand or server-rendered route to pass attacker-controlled data into a View Transition animation definition and can execute arbitrary JavaScript in the affected application's origin, allowing access to sensitive page data and authenticated actions available to the victim. This issue is fixed in version 7.1.0.
References
-
https://github.com/withastro/astro/security/advisories/GHSA-4g3v-8h47-v7g6 x_refsource_CONFIRM
-
https://github.com/withastro/astro/pull/17393 x_refsource_MISC
-
https://github.com/withastro/astro/releases/tag/astro@7.1.0 x_refsource_MISC
Affected products
- ==>= 2.9.0, < 7.1.0
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>
-
@doronbehar Doron Behar <me@doronbehar.com>
-
@KentJames James Kent <jameschristopherkent@gmail.com>
-
@smaret Sébastien Maret <sebastien.maret@icloud.com>
-
@stepbrobd Yifei Sun <ysun@hey.com>
-
@A-jay98 Ali Jamadi <ali@jamadi.me>
-
@mightyiam Shahar "Dawn" Or <mightyiampresence@gmail.com>
-
@adfaure Adrien Faure <adfaure@pm.me>
-
@DaniD3v DaniD3v <sch220233@spengergasse.at>
-
@uxodb uxodb
-
@qweered Aliaksandr Samatyia <grubian2@gmail.com>
-
@aciceri Andrea Ciceri <andrea.ciceri@autistici.org>