For your digest
mapbox.js, mapbox-rails: Content Injection via TileJSON Name 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.6
- mapbox.js (npm): from 2.0.0, before 2.2.4
- mapbox-rails (RubyGems): from 1.0.0, before 1.6.6
- mapbox-rails (RubyGems): from 2.0.0, before 2.2.4
The fix
mapbox.js (npm) fixed in 1.6.6
npmnpm install mapbox.js@1.6.6pnpmpnpm add mapbox.js@1.6.6yarnyarn add mapbox.js@1.6.6bunbun add mapbox.js@1.6.6Check what is installednpm ls mapbox.jsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mapbox.js to 1.6.6 or the nearest later release, to fix CVE-2017-1000043. 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.2.4
npmnpm install mapbox.js@2.2.4pnpmpnpm add mapbox.js@2.2.4yarnyarn add mapbox.js@2.2.4bunbun add mapbox.js@2.2.4Check what is installednpm ls mapbox.jsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mapbox.js to 2.2.4 or the nearest later release, to fix CVE-2017-1000043. 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.6
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.6 or the nearest later release, to fix CVE-2017-1000043. 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.2.4
bundlerbundle update --conservative mapbox-railsCheck what is installedbundle info mapbox-railsPaste into Cursor, Lovable or Claude CodeUpgrade the RubyGems dependency mapbox-rails to 2.2.4 or the nearest later release, to fix CVE-2017-1000043. 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".