Lucene search
+L

Astro - Information Disclosure

🗓️ 22 Oct 2026 02:06:49Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 30 Views

Astro information disclosure via public sourcemaps exposing server source; fixed in newer versions.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2024-56159
19 Dec 202419:02
–circl
cnnvd
CNNVD
Astro security vulnerabilities
19 Dec 202400:00
–cnnvd
cve
CVE
CVE-2024-56159
19 Dec 202418:58
–cve
cvelist
Cvelist
CVE-2024-56159 Server source code is exposed to the public if sourcemaps are enabled
19 Dec 202418:58
–cvelist
euvd
EUVD
EUVD-2024-3552
3 Oct 202520:07
–euvd
github
Github Security Blog
Astro's server source code is exposed to the public if sourcemaps are enabled
19 Dec 202415:12
–github
kittysploit
KittySploit
Astro - Information Disclosure Detection
28 Jul 202611:27
–kittysploit
mend
Mend
CVE-2024-56159
19 Dec 202418:58
–mend
nvd
NVD
CVE-2024-56159
19 Dec 202419:15
–nvd
osv_clsa
osv_clsa
CLSA-2026-1777855417 TuxCare security update for 5 packages (10 CVEs)
4 Aug 202614:52
–osv_clsa
Rows per page
id: CVE-2024-56159

info:
  name: Astro - Information Disclosure
  author: theamanrawat
  severity: medium
  description: |
    Astro versions v5.0.3 through v5.0.7 and Astro v4.16.17 or older with sourcemaps enabled contain a source code disclosure caused by sourcemap files being publicly accessible in the build output folder, letting unauthenticated users read server source code, exploit requires sourcemaps to be enabled.
  impact: |
    Unauthenticated users can access server source code, potentially leading to discovery of further vulnerabilities or sensitive information.
  remediation: |
    Update Astro to version 5.0.8 or later for server-output projects, and to 5.0.9 or later (or 4.16.18 for Astro v4) for static-output projects with sourcemaps enabled.
  reference:
    - https://github.com/withastro/astro/security/advisories/GHSA-49w6-73cw-chjr
    - https://nvd.nist.gov/vuln/detail/CVE-2024-56159
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-56159
    epss-score: 0.01536
    epss-percentile: 0.74625
    cwe-id: CWE-219
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"astro"
  tags: cve,cve2024,astro,sourcemap,exposure,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/pages/index.astro.mjs.map"
      - "{{BaseURL}}/index.astro.mjs.map"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"version":'
          - '"sources":'
          - '"sourcesContent":'
          - '.astro'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502202671021637de9481af8b0664c136109f3020c12a1bceb21a52ad24d250ad52e80221008901b8a2a1d2248ead294aa197d85e239500553d12ca3ab2fca6fc60e9442027:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Jan 2026 12:48Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.15.3
CVSS 47.8
EPSS0.01536
SSVC
30