Skip to content

fix(deps): update dependency darkreader to v4.9.117 [security]#151

Open
ZxBot wants to merge 1 commit intodevelfrom
renovate/npm-darkreader-vulnerability
Open

fix(deps): update dependency darkreader to v4.9.117 [security]#151
ZxBot wants to merge 1 commit intodevelfrom
renovate/npm-darkreader-vulnerability

Conversation

@ZxBot
Copy link
Copy Markdown
Contributor

@ZxBot ZxBot commented Mar 5, 2026

This PR contains the following updates:

Package Change Age Confidence
darkreader (source) 4.9.464.9.117 age confidence

Dark Reader gives users the ability to request style sheets from local web servers

CVE-2025-68467 / GHSA-x369-mcw8-8rvj

More information

Details

Description

Dark Reader versions prior to 4.9.117 included a behavior where a website could request a style sheet from a locally running web server, for example http://localhost:8080/style.css, If an address was available and returned a text/css content type.

Patches

The problem was fixed in version 4.9.117, released on December 3, 2025. Most users received the update automatically. Users running manual builds must upgrade to version 4.9.117 or later.

The installed extension version number can be verified in Dark Reader's menu (More > All settings > About), browser settings, chrome://extensions or about:addons pages.

Users are encouraged not to disable automatic extension updates and use the latest browser version, as browser releases typically include multiple security fixes of varying severity.

NPM package

The issue does not affect developers using the darkreader NPM package for website integration. Developers using the setFetchMethod() API must ensure the cross-origin requests are restricted to the intended scope.

Custom forks

Developers using custom forks of earlier versions of Dark Reader to build other extensions, or integrating it into their apps or browsers, should review their implementation to ensure cross-origin requests are handled securely.

Acknowledgements

Security research performed by Brian Carpenter - Deep Fork Cyber.

Severity

  • CVSS Score: 3.4 / 10 (Low)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

darkreader/darkreader (darkreader)

v4.9.117

Compare Source

  • Improved dark theme detection.
  • Optimized SVG image analysis.
  • CSS variables support improvements.
  • Applied cross-origin request limitations.

v4.9.114

Compare Source

  • Fixed compatibility with Chrome 144.
  • Fixed handling CSS for deprecated media.
  • Fixed breaking on ::picker selector.

v4.9.113

Compare Source

  • Fixed processing unresolved nested CSS variables fallbacks.
  • Fixed handling same CSS rules inside different @​layer rules.
  • Fixed mobile user interface in Edge.
  • Fixed Firefox build in different timezones.

v4.9.112

Compare Source

  • Fixed handling fallback values of undefined CSS variables.
  • Fixed error when Dark Reader styles were removed.
  • Simplified mobile user interface for Edge.
  • One-click activation for new UI in Edge.

v4.9.109

Compare Source

  • Fixed API bundle error.

v4.9.108

Compare Source

  • Fixed crash when parsing invalid complex colors (Linkedin issue).
  • Fixed breaking when CSS @​import can't be loaded.
  • Fixed compatibility with certain extensions.
  • Fixed processing background with variables defined later.
  • Detect dark theme in certain iframes.
  • Ability to hide payment messages.

v4.9.105

Compare Source

  • API: Fixed breaking ES5 builds.

v4.9.104

Compare Source

  • API: ES Module bundle.

v4.9.101

Compare Source

  • Fixed processing stylesheets with multiple CSS imports.

v4.9.100

Compare Source

  • Improved performace of checking available background images.
  • Optimized image analysis caching.
  • Fixed processing style sheets with incorrect imports.
  • Fixed image analysis when extension is re-enabled.
  • Fixed theme update optimization.

v4.9.96

Compare Source

  • Dark theme detection improvements.
  • Fixed overriding styles in Shadow DOM of built-in elements.
  • Firefox: Fix breaking Microsoft Teams.
  • Prevent dark content flashes for disabled websites.
  • Fixed loading styles with imports from same domain.

v4.9.95

Compare Source

  • Fixed Google Calendar scroll bars.
  • Fixed automation panel.
  • Added links to mobile apps.

v4.9.94

Compare Source

  • API: Fixed TypeScript builds.
  • Updated experimental design for Microsoft Edge for Android.

v4.9.92

Compare Source

  • Detect website's dark theme by default.
  • Use Filter mode for particular websites by default (Google Docs, Microsoft Office).
  • Restored scrollbar colors.
  • Fixed breaking on default selection color.

v4.9.89

Compare Source

  • Removed www part from website URLs.
  • Enabled automation and dark theme detection by default for mobile version.
  • Fixed colors for static site fixes.
  • Apply ignored image selectors for gradients.

v4.9.87

Compare Source

  • Added link to Settings page.
  • Fixed CSS editor layout.
  • Fixed delay when opening settings.
  • Fixed warnings for protected pages.
  • Fixed conflicts with Dark Reader based scripts.
  • Improved fallback color support in CSS variables.
  • Japanese Help page translation.

v4.9.86

Compare Source

  • CSS variables performance optimizations.
  • Fixed Manifest V3 bugs.
  • Fixed loosing control over tabs after update.

v4.9.85

Compare Source

  • Bulgarian translation.
  • Improved color variables support.
  • Fixed handling styles with embedded SVGs.
  • Fixed Inversion Dev Tools.
  • Fixed inline SVG image analysis.
  • Fixed overriding icon fonts.

v4.9.84

Compare Source

  • Improved Dev Tools (per site editor).
  • Improved SVG logos analysis.
  • Improved large background image analysis.
  • Fixed IPv6 URL support.
  • Fixed Mark elements' colors.
  • Check for CSS @​layer support.

v4.9.83

Compare Source

  • Reduced memory consumption.
  • Fixed iframes background colors.
  • Optimized CSS @​import loading.

v4.9.82

Compare Source

  • Fixed performance issue when detecting @​layer and @​supports rules.
  • Improved border colors with CSS variables.
  • Leave iframes unchanged when dark theme is detected on a web page.

4.9.81 (March 29, 2024)

  • Fixed performance degradation when computer wakes up from sleep mode.
  • Improved dark theme detection.
  • Support for CSS layers.
  • Support for color mixing functions.
  • Override author's scrollbar colors.
  • Override color-scheme CSS property.
  • Fixes for backgrounds with variable colors.
  • Dynamic mode bug fixes and performance optimizations.

4.9.80 (March 13, 2024)

  • Analyze inline background images for root elements.
  • Support for "background" attribute.
  • Fixed performance for asynchronously resolved inline styles.
  • Fixed freezes and incorrect work on several websites.
  • Dev Tools: Formatting of CSS fixes.

4.9.79 (February 29, 2024)

  • Use ES2020 for API bundle.

4.9.78 (February 29, 2024)

  • Optimized Adopted Style Sheets changes handling.
  • Fixed watching for style/link element position changes.
  • Fixed processing large style elements loaded by chunks.
  • Fixed enabling the extension with a hotkey after it was disabled automatically.
  • Fixed sliders in mobile UI.

4.9.77 (February 7, 2024)

  • Firefox: Fixed errors when Adopted Style Sheets were not present.
  • Fixed breaking on ::view-transition selectors (Airbnb issue).

4.9.76 (January 17, 2024)

  • Improved dark theme detection.
  • Dynamic mode bug fixes.

4.9.75 (January 12, 2024)

  • Fixed CSS variables processing in inline styles.
  • Chrome: Improved Adopted Style Sheets support (Bing AI and Copilot issues).
  • Firefox: Adopted Style Sheets support.
  • Firefox: Fixed issues with Filter+ mode.
  • Improved Constructed Style Sheets changes handling.

4.9.74 (January 3, 2024)

  • Improved image analysis performance.
  • Improved dark theme detection.
  • Fixed 404 errors when loading images with relative paths.
  • v5 Preview: Moved settings into a separate page.

4.9.73 (December 6, 2023)

  • Fixed URL subdomain handling.

4.9.72 (December 5, 2023)

  • Fixed Salesforce and Excel Online issues.

4.9.71 (December 5, 2023)

  • Improved subdomain handling in Site List.
  • Improved dark theme detection.
  • Fixed page crashes (Slack issue).
  • Fixed Site List migration.
  • Reduced image analysis memory usage.

4.9.70 (November 22, 2023)

  • Fixed clearing site lists when synchronization is disabled.

4.9.69 (November 21, 2023)

  • Separated Enabled and Disabled site lists.
  • Regular expressions support in Site List.
  • Fixed automation after computer waking up.

4.9.68 (November 13, 2023)

  • Fixed incorrect CSS comment handling (Reddit issue #​11583).
  • Fixed working on domains containing constructor part (#​11877).

4.9.67 (October 1, 2023)

  • Fixed Site List when there is any URL with port.

4.9.66 (September 25, 2023)

  • Dynamic mode fixes.
  • UI improvements.

4.9.65 (August 7, 2023)

  • Optimize inline style handling (fixes DuckDuckGo issue).
  • Added an option to enable/disable the extension for all websites by default.

4.9.64 (June 21, 2023)

  • Using passive event listeners (#​11047)
  • Fixed System Automation on Firefox (#​10237)
  • Fixed News section.

4.9.63 (Apr 10, 2023)

  • Site toggle panel (detect dark theme and shortcut).
  • App toggle panel (automation and shortcut).
  • Improved Site List indexing.

4.9.62 (Jan 8, 2023)

  • Fixed a edge case with extracting color numbers, it's now able to extract rgb(0 0 0/0.04). (#​10565)
  • Improved IPv6 check. (#​10564)
  • Faster UI loading. (#​10589)

4.9.61 (Jan 2, 2023)

  • Only invert PDFs on mail.google.com and drive.google.com, if the setting for PDF inversion has been enabled. (#​10310)
  • Show in the new UI design when a page is disabled, because it's protected by the browser. (#​10338)
  • Improved restoring Dark Reader elements, when the whole DOM is being overwritten. (#​10372)

4.9.60 (Oct 27, 2022)

  • Fixed broken hotkeys.
  • Improved IP v6 address support.

4.9.59 (Oct 23, 2022)

  • Fixes a issue where darkreader-fallback wasn't removed from the DOM, when Dark Reader finds a <meta name="darkreader-lock"> element.
  • Be stricter when the user specifies a last slash for a URL in the Site List.
  • Display a warning that "System" Automation might not work properly in Chromium on Linux and Kiwi on Android.
  • Workaround for Kiwi file download during settings import, fix opening Dark Reader DevTools.
  • A button to clear the Site List (v5 Preview UI).

4.9.58 (Sep 22, 2022)

  • Remove newlines from CSS URL values, before handling them.
  • Better detection for text color property in variables.
  • es-419 (Latin America & Caribbean Spanish) translation.
  • Updates to Hebrew and Portuguese (Brazilian) translations.

4.9.57 (Aug 23, 2022)

  • Fix iframes not getting modified when settings were changed.
  • Fixed registering system automation handlers multiple times.

4.9.56 (Aug 16, 2022)

  • Fix browser theme not changing when automation + scheme behavior was enabled.

4.9.55 (Aug 10, 2022)

  • Fix Google calendar.
  • Fix Opera/Vivaldi sidebar's getting modified.
  • Fix incorrect inline background colors when mask is explicitly disabled.
  • Fixed breaking for some old browser versions.

4.9.54 (Aug 10, 2022)

  • Fixed System automation.

4.9.53 (Aug 9, 2022)

  • Don't manage styles that have an empty href attribute.
  • Use navigator.UserAgentData when possible.
  • Add a <meta name="darkreader-lock"> detector, to disable Dark Reader when detected (only dynamic theme).
  • Fix filter theme for Firefox v102+
  • Correctly open static theme editor on Mobile.
  • Migrate automation settings to its own object.
  • Correctly handle empty URL's in background-image property.
  • Make color parsing use cache.
  • Send updates only to affected tabs when toggling sites.
  • Fixed images with masks (Gmail icons issue).
  • Background page refactoring.

4.9.52 (June 28, 2022)

  • Correctly handle escaped characters in CSS url(...) values.

4.9.51 (May 27, 2022)

Dynamic mode improvements:

  • Fixed CSS imports that contain url(...) and end with screen.
  • Send network responses to correct frames in tabs.
  • Improved calc(...) color handling by using Shunting Yard algorithm.

New translations:

  • Malay translation.
  • Telugu translation.

Other:

  • UI improvements.
  • Users' fixes for websites.

4.9.50 (May 1, 2022)

  • Fix working in Firefox Nightly 101.
  • Users' fixes for websites.

4.9.48 (Apr 18, 2022)

  • Fix PDF inversion when Auto-detect dark theme option was enabled.
  • Fix Jira's background.
  • User's settings validation.
  • Users' fixes for websites.

4.9.47 (Mar 14, 2022)

  • Users' fixes for websites.

4.9.46 (Mar 10, 2022)

  • v5 Preview: Auto-detect dark theme on websites.
  • v5 Preview: Option for running dark theme on hidden tabs immediately.
  • Dynamic mode bug fixes.
  • Translation improvements.
  • Users' fixes for websites.

4.9.45 (Feb 5, 2022)

  • Revert reducing brightness for images (due to some performance issues).
  • Users' fixes for websites.

4.9.44 (Feb 4, 2022)

  • Dynamic mode improvements.
  • v5 preview: Ability to automate dark/light scheme.
  • Users' fixes for websites.

4.9.43 (Dec 7, 2021)

  • Dynamic mode bug fixes.
  • Users' fixes for websites.

4.9.42 (Nov 6, 2021)

  • Fixed slow performance on some websites.
  • Fixed broken UI for some users.
  • Users' fixes for websites.

4.9.41 (Nov 5, 2021)

  • Fixed white flash when page starts loading.
  • Users' fixes for websites.

4.9.40 (Nov 3, 2021)

  • Dynamic mode fixes.
  • Filipino translation (thanks to @​IverCoder).
  • Serbian translation (thanks to Nemanja @​nebocoder).
  • Users' fixes for websites.

4.9.39 (Oct 1, 2021)

  • Fixed settings not being saved.
  • Fixed not working popup for some users.
  • Dynamic mode performance improvements.
  • v5 Preview design update.
  • Users' fixes for websites.

4.9.37.1 (Sep 23, 2021)

  • Fixed error when applying settings after some time.
  • Users' fixes for websites.

4.9.36 (Sep 21, 2021)

  • Fixed regression bugs after 4.9.35 release (hotkeys, Dev Tools, sunrise/sunset).
  • Users' fixes for websites.

4.9.35 (Sep 19, 2021)

  • Preparing the app for work in non-persistent background context.
  • Dynamic mode bug fixes and performance improvements.
  • Users' fixes for websites.

4.9.34 (Jul 7, 2021)

  • Dynamic mode bug fixes and performance improvements.
  • Minor UI improvements.
  • Users' fixes for websites.

4.9.33 (May 28, 2021)

  • Fixed disability to switch on sites in Global Dark List.
  • Bug fixes.
  • Users' fixes for websites.

4.9.32 (Apr 21, 2021)

  • Dynamic mode bug fixes.
  • Users' fixes for websites.

4.9.31 (Apr 5, 2021)

  • Fixed performance bottleneck for websites with CSS variables.
  • Users' fixes for websites.

4.9.30 (Apr 1, 2021)

  • Improved CSS Variables support.
  • Dynamic mode bug fixes.
  • Fixed toggle shortcut keys for PDFs.
  • Users' fixes for websites.

4.9.29 (Feb 22, 2021)

  • Users' fixes for websites.

4.9.27 (Jan 21, 2021)

  • Dynamic mode improvements.
  • Thunderbird support.
  • Users' fixes for websites.
  • Users' translation improvements.

4.9.26 (Nov 26, 2020)

  • Dynamic mode bug fixes.
  • Users' fixes for websites.

4.9.25 (Nov 25, 2020)

  • Dynamic mode bug fixes.
  • Users' fixes for websites.

4.9.24 (Nov 19, 2020)

  • Dynamic mode fixes and performance improvements.
  • Updates for Dutch translation.
  • Users' fixes for websites.
  • Reduced assets size.

4.9.23 (Oct 26, 2020)

  • Fixed missing images on some websites.

4.9.22 (Oct 26, 2020)

  • Fixed high CPU usage caused by conflict with some websites.
  • Dynamic mode bug fixes.
  • Users' fixes for websites.

4.9.21 (Sep 26, 2020)

  • Fixed wrongly displaying pages where the extension is disabled.

v4.9.81

Compare Source

  • Fixed performance degradation when computer wakes up from sleep mode.
  • Improved dark theme detection.
  • Support for CSS layers.
  • Support for color mixing functions.
  • Override author's scrollbar colors.
  • Override color-scheme CSS property.
  • Fixes for backgrounds with variable colors.
  • Dynamic mode bug fixes and performance optimizations.

v4.9.80

Compare Source

  • Analyze inline background images for root elements.
  • Support for "background" attribute.
  • Fixed performance for asynchronously resolved inline styles.
  • Fixed freezes and incorrect work on several websites.
  • Dev Tools: Formatting of CSS fixes.

v4.9.79

Compare Source

  • Use ES2020 for API bundle.

v4.9.78

Compare Source

  • Optimized Adopted Style Sheets changes handling.
  • Fixed watching for style/link element position changes.
  • Fixed processing large style elements loaded by chunks.
  • Fixed enabling the extension with a hotkey after it was disabled automatically.
  • Fixed sliders in mobile UI.

v4.9.77

Compare Source

  • Firefox: Fixed errors when Adopted Style Sheets were not present.
  • Fixed breaking on ::view-transition selectors (Airbnb issue).

v4.9.75

Compare Source

  • Fixed CSS variables processing in inline styles.
  • Chrome: Improved Adopted Style Sheets support (Bing AI and Copilot issues).
  • Firefox: Adopted Style Sheets support.
  • Firefox: Fixed issues with Filter+ mode.
  • Improved Constructed Style Sheets changes handling.

v4.9.73

Compare Source

  • Fixed URL subdomain handling.

v4.9.71

Compare Source

  • Improved subdomain handling in Site List.
  • Improved dark theme detection.
  • Fixed page crashes (Slack issue).
  • Fixed Site List migration.
  • Reduced image analysis memory usage.

v4.9.69

Compare Source

  • Separated Enabled and Disabled site lists.
  • Regular expressions support in Site List.
  • Fixed automation after computer waking up.

v4.9.67

Compare Source

  • Fixed Site List when there is any URL with port.

v4.9.66

Compare Source

  • Dynamic mode fixes.
  • UI improvements.

v4.9.58

Compare Source

  • Remove newlines from CSS URL values, before handling them.
  • Better detection for text color property in variables.
  • es-419 (Latin America & Caribbean Spanish) translation.
  • Updates to Hebrew and Portuguese (Brazilian) translations.

v4.9.57

Compare Source

  • Fix iframes not getting modified when settings were changed.
  • Fixed registering system automation handlers multiple times.

v4.9.55

Compare Source

  • Fix Google calendar.
  • Fix Opera/Vivaldi sidebar's getting modified.
  • Fix incorrect inline background colors when mask is explicitly disabled.
  • Fixed breaking for some old browser versions.

v4.9.53

Compare Source

  • Don't manage styles that have an empty href attribute.
  • Use navigator.UserAgentData when possible.
  • Add a <meta name="darkreader-lock"> detector, to disable Dark Reader when detected (only dynamic theme).
  • Fix filter theme for Firefox v102+
  • Correctly open static theme editor on Mobile.
  • Migrate automation settings to its own object.
  • Correctly handle empty URL's in background-image property.
  • Make color parsing use cache.
  • Send updates only to affected tabs when toggling sites.
  • Fixed images with masks (Gmail icons issue).
  • Background page refactoring.

v4.9.52

Compare Source

  • Correctly handle escaped characters in CSS url(...) values.

v4.9.51

Compare Source

Dynamic mode improvements:

  • Fixed CSS imports that contain url(...) and end with screen.
  • Send network responses to correct frames in tabs.
  • Improved calc(...) color handling by using Shunting Yard algorithm.

New translations:

  • Malay translation.
  • Telugu translation.

Other:

  • UI improvements.
  • Users' fixes for websites.

Configuration

📅 Schedule: (in timezone Europe/Rome)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@ZxBot ZxBot force-pushed the renovate/npm-darkreader-vulnerability branch 5 times, most recently from 0285584 to fc1d03c Compare April 1, 2026 03:09
@ZxBot ZxBot force-pushed the renovate/npm-darkreader-vulnerability branch 3 times, most recently from 89ce044 to fc6b331 Compare April 6, 2026 03:08
@ZxBot ZxBot force-pushed the renovate/npm-darkreader-vulnerability branch 2 times, most recently from fdf7051 to 78a96ec Compare April 20, 2026 03:32
@ZxBot ZxBot changed the title chore(deps): update dependency darkreader to v4.9.117 [security] fix(deps): update dependency darkreader to v4.9.117 [security] Apr 20, 2026
@ZxBot ZxBot force-pushed the renovate/npm-darkreader-vulnerability branch from 78a96ec to a98a3c5 Compare April 22, 2026 03:18
@ZxBot ZxBot force-pushed the renovate/npm-darkreader-vulnerability branch from a98a3c5 to b4c91fd Compare April 23, 2026 03:28
@sonarqube-zextras
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant