For your digest
mapbox.js, mapbox-rails: Content Injection via TileJSON attribute in mapbox.js
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- mapbox.js (npm): every version, before 1.6.5
- mapbox.js (npm): from 2.0.0, before 2.1.7
- mapbox-rails (RubyGems): from 1.0.0, before 1.6.5
- mapbox-rails (RubyGems): from 2.0.0, before 2.1.7
The fix
mapbox.js (npm) fixed in 1.6.5
npmnpm install mapbox.js@1.6.5pnpmpnpm add mapbox.js@1.6.5yarnyarn add mapbox.js@1.6.5bunbun add mapbox.js@1.6.5Check what is installednpm ls mapbox.jsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mapbox.js to 1.6.5 or the nearest later release, to fix CVE-2017-1000042. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mapbox.js (npm) fixed in 2.1.7
npmnpm install mapbox.js@2.1.7pnpmpnpm add mapbox.js@2.1.7yarnyarn add mapbox.js@2.1.7bunbun add mapbox.js@2.1.7Check what is installednpm ls mapbox.jsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mapbox.js to 2.1.7 or the nearest later release, to fix CVE-2017-1000042. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mapbox-rails (RubyGems) fixed in 1.6.5
bundlerbundle update --conservative mapbox-railsCheck what is installedbundle info mapbox-railsPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency mapbox-rails to 1.6.5 or the nearest later release, to fix CVE-2017-1000042. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.mapbox-rails (RubyGems) fixed in 2.1.7
bundlerbundle update --conservative mapbox-railsCheck what is installedbundle info mapbox-railsPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency mapbox-rails to 2.1.7 or the nearest later release, to fix CVE-2017-1000042. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".