Exposed JavaScript source maps let a bug bounty hunter rebuild a company's internal architecture
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published
What happened
No CVE is assigned; this is a misconfiguration writeup. Appending .map to a Next.js chunk under /next/static/chunks/ returned HTTP 200 with a roughly 81KB source map whose sourcesContent exposed unminified application code. It revealed a WordPress and WPGraphQL headless backend, the /api/submitForm request schema, and a Zod schema listing REVALIDATESECRETKEY, SENDGRIDAPIKEY, NEXTAWSSECRETACCESSKEY and RECAPTCHASECRETKEY, though values were not exposed. Defenders should disable production source maps in Webpack or Next.js builds and check whether .js.map files are publicly reachable.
For security analysts · Written by AI from 1 source · Report an error
- Sources
- 1
Sources and verification
Sources and editorial review
No named human review has been recorded for this story. See the source evidence below.
No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.
How severity and exploitation labels work · All source reports · Report an error
What to do
- Disable production source map generation in the build pipeline.
- Check whether .js.map files for production bundles are publicly reachable and remove them if so.
- Review whether any server-side secrets referenced in client-accessible code should be rotated.
Written by AI from the sources, checked against them
Source timeline (UTC) · 1 update
Explore this report
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own questionWho and what is in it
Companies