← Back
CVE-2018-14042

Cross-Site Scripting (XSS) in bootstrap (CVE-2018-14042)

Summary

cross-site scripting in bootstrap (CVE-2018-14042). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `3.4.0` or later.

AI summary snake-internal / snake-template-v1

A weakness called CVE-2018-14042 was discovered in In Bootstrap before. In plain terms, it is a flaw that lets attackers sneak nasty scripts into a webpage. Severity is Info. Low severity or not yet rated. What you should do: update the affected software to the latest version. If unsure, ask your IT team or search the vendor's site for "In Bootstrap before CVE-2018-14042".
CVE-2018-14042 (In Bootstrap before). Severity: Info. Category: CWE-79. Response plan: 1. Check the vendor advisory for affected versions and the patched release. 2. If a vulnerable version is running in production, schedule maintenance (urgency from KEV/CVSS). 3. If no patch yet, mitigate via WAF rule, disabling the affected feature, etc. 4. Monitor logs / SIEM for known IOC and PoC signatures of this CVE. PoCs and fix commits: see the 'References' section, MITRE, and NVD.
❓ What is the problem
A weakness (CVE-2018-14042) in In Bootstrap before. In plain words, it is a flaw that lets attackers sneak nasty scripts into a webpage.
📍 Affected scope
Target versions of In Bootstrap before (see vendor advisory). If running in production, identify exposure immediately.
🔥 Severity
Severity: Info. Low severity or not yet rated.
🔧 How to fix
Update to the patched release as listed in the vendor advisory. (Typical mitigation pattern for CWE-79)
🛡️ Workaround
If a patch is not yet available, consider disabling the affected feature, applying WAF rules, blocking via network ACLs, or isolating the vulnerable version.
🔍 Detection
Check version information, scan dependencies via SBOM, and monitor SIEM for IOC and PoC signatures related to this CVE.

Response Actions (7 steps)

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposure identify
    grep -r 'bootstrap' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `bootstrap` を grep し、稼働しているサービス・バージョンを把握する。

  2. 6
    Apply patch patch
    Upgrade bootstrap to 3.4.0

    ステージング環境で 3.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。

  3. 7
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。

Affected packages

rubygems bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
npm bootstrap
[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
maven org.webjars:bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
composer twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}]
nuget bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
rubygems bootstrap-sass
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]
npm bootstrap-sass
[{"type":"SEMVER","events":[{"introduced":"2.0.4"},{"fixed":"3.4.0"}]}]
nuget bootstrap.sass
[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.2"}]}]
Packagist twbs/bootstrap
[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"3.4.0"}]}]

References

🍪 About cookies

We use cookies to keep you logged in, remember your language, and improve the service.

Details →