diff --git a/frontend/docusaurus.config.cjs b/frontend/docusaurus.config.cjs
index 65b33a21d7b17a5910bce1374c30302ed5002a6b..4169b36b968097a3416830d66c16c1c6b09fccee 100644
--- a/frontend/docusaurus.config.cjs
+++ b/frontend/docusaurus.config.cjs
@@ -1,5 +1,5 @@
-const lightCodeTheme = require('prism-react-renderer/themes/github')
-const darkCodeTheme = require('prism-react-renderer/themes/dracula')
+const lightCodeTheme = require('prism-react-renderer').themes.github
+const darkCodeTheme = require('prism-react-renderer').themes.dracula
 
 /** @type {import('@docusaurus/types').Config} */
 const config = {
diff --git a/frontend/src/theme/ApiDemoPanel/Curl/index.js b/frontend/src/theme/ApiDemoPanel/Curl/index.js
index 91e077cfc48b0aed362c75ed86cd524cbe7e3883..c0809e5fadc9fa455de94ff91023cc2b3a90e794 100644
--- a/frontend/src/theme/ApiDemoPanel/Curl/index.js
+++ b/frontend/src/theme/ApiDemoPanel/Curl/index.js
@@ -2,7 +2,7 @@ import React, { useRef, useState, useEffect } from 'react'
 import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
 import clsx from 'clsx'
 import codegen from 'postman-code-generators'
-import Highlight, { defaultProps } from 'prism-react-renderer'
+import { Highlight } from 'prism-react-renderer'
 import { useTypedSelector } from '@theme/ApiDemoPanel/hooks'
 import buildPostmanRequest from '@theme/ApiDemoPanel/buildPostmanRequest'
 import FloatingButton from '@theme/ApiDemoPanel/FloatingButton'
@@ -241,7 +241,6 @@ function Curl({ postman, codeSamples }) {
       </div>
 
       <Highlight
-        {...defaultProps}
         code={codeText}
         language={language.highlight || language.lang}
         theme={languageTheme}
diff --git a/package-lock.json b/package-lock.json
index ccf7e1dd1eee2179adc84afe5078f43c96bab139..528893540597cdf520505273a1b6906f6363c9da 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -110,7 +110,7 @@
         "open-cli": "^7.2.0",
         "portfinder": "^1.0.32",
         "prettier": "3.0.0",
-        "prism-react-renderer": "^1.2.1",
+        "prism-react-renderer": "^2.0.6",
         "react": "^17.0.2",
         "react-dom": "^17.0.2",
         "read-all-stdin-sync": "^1.0.5",
@@ -3035,6 +3035,15 @@
         "react-dom": "^16.8.4 || ^17.0.0"
       }
     },
+    "node_modules/@docusaurus/theme-classic/node_modules/prism-react-renderer": {
+      "version": "1.3.5",
+      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+      "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+      "dev": true,
+      "peerDependencies": {
+        "react": ">=0.14.9"
+      }
+    },
     "node_modules/@docusaurus/theme-common": {
       "version": "2.4.1",
       "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.4.1.tgz",
@@ -3066,6 +3075,15 @@
         "react-dom": "^16.8.4 || ^17.0.0"
       }
     },
+    "node_modules/@docusaurus/theme-common/node_modules/prism-react-renderer": {
+      "version": "1.3.5",
+      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+      "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+      "dev": true,
+      "peerDependencies": {
+        "react": ">=0.14.9"
+      }
+    },
     "node_modules/@docusaurus/theme-search-algolia": {
       "version": "2.4.1",
       "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.4.1.tgz",
@@ -5324,6 +5342,12 @@
         "pg-types": "^4.0.1"
       }
     },
+    "node_modules/@types/prismjs": {
+      "version": "1.26.0",
+      "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.0.tgz",
+      "integrity": "sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ==",
+      "dev": true
+    },
     "node_modules/@types/prop-types": {
       "version": "15.7.5",
       "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz",
@@ -10200,6 +10224,15 @@
         "ieee754": "^1.2.1"
       }
     },
+    "node_modules/docusaurus-theme-openapi/node_modules/prism-react-renderer": {
+      "version": "1.3.5",
+      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+      "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+      "dev": true,
+      "peerDependencies": {
+        "react": ">=0.14.9"
+      }
+    },
     "node_modules/dom-converter": {
       "version": "0.2.0",
       "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz",
@@ -20901,12 +20934,16 @@
       "integrity": "sha512-19BMarhgpq3x4ccvVi8k2QpJZcymo/iFUcrhPd4V96kYGovOdTsWwy7fxChYi4QY+m2EnGBWSX9Buakz+tWNQQ=="
     },
     "node_modules/prism-react-renderer": {
-      "version": "1.3.5",
-      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
-      "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+      "version": "2.0.6",
+      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.0.6.tgz",
+      "integrity": "sha512-ERzmAI5UvrcTw5ivfEG20/dYClAsC84eSED5p9X3oKpm0xPV4A5clFK1mp7lPIdKmbLnQYsPTGiOI7WS6gWigw==",
       "dev": true,
+      "dependencies": {
+        "@types/prismjs": "^1.26.0",
+        "clsx": "^1.2.1"
+      },
       "peerDependencies": {
-        "react": ">=0.14.9"
+        "react": ">=16.0.0"
       }
     },
     "node_modules/prismjs": {
@@ -30276,6 +30313,15 @@
         "rtlcss": "^3.5.0",
         "tslib": "^2.4.0",
         "utility-types": "^3.10.0"
+      },
+      "dependencies": {
+        "prism-react-renderer": {
+          "version": "1.3.5",
+          "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+          "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+          "dev": true,
+          "requires": {}
+        }
       }
     },
     "@docusaurus/theme-common": {
@@ -30300,6 +30346,15 @@
         "tslib": "^2.4.0",
         "use-sync-external-store": "^1.2.0",
         "utility-types": "^3.10.0"
+      },
+      "dependencies": {
+        "prism-react-renderer": {
+          "version": "1.3.5",
+          "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+          "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+          "dev": true,
+          "requires": {}
+        }
       }
     },
     "@docusaurus/theme-search-algolia": {
@@ -31973,6 +32028,12 @@
         "pg-types": "^4.0.1"
       }
     },
+    "@types/prismjs": {
+      "version": "1.26.0",
+      "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.0.tgz",
+      "integrity": "sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ==",
+      "dev": true
+    },
     "@types/prop-types": {
       "version": "15.7.5",
       "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.5.tgz",
@@ -35611,6 +35672,13 @@
             "base64-js": "^1.3.1",
             "ieee754": "^1.2.1"
           }
+        },
+        "prism-react-renderer": {
+          "version": "1.3.5",
+          "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
+          "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+          "dev": true,
+          "requires": {}
         }
       }
     },
@@ -43518,11 +43586,14 @@
       "integrity": "sha512-19BMarhgpq3x4ccvVi8k2QpJZcymo/iFUcrhPd4V96kYGovOdTsWwy7fxChYi4QY+m2EnGBWSX9Buakz+tWNQQ=="
     },
     "prism-react-renderer": {
-      "version": "1.3.5",
-      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-1.3.5.tgz",
-      "integrity": "sha512-IJ+MSwBWKG+SM3b2SUfdrhC+gu01QkV2KmRQgREThBfSQRoufqRfxfHUxpG1WcaFjP+kojcFyO9Qqtpgt3qLCg==",
+      "version": "2.0.6",
+      "resolved": "https://registry.npmjs.org/prism-react-renderer/-/prism-react-renderer-2.0.6.tgz",
+      "integrity": "sha512-ERzmAI5UvrcTw5ivfEG20/dYClAsC84eSED5p9X3oKpm0xPV4A5clFK1mp7lPIdKmbLnQYsPTGiOI7WS6gWigw==",
       "dev": true,
-      "requires": {}
+      "requires": {
+        "@types/prismjs": "^1.26.0",
+        "clsx": "^1.2.1"
+      }
     },
     "prismjs": {
       "version": "1.29.0",
diff --git a/package.json b/package.json
index 274916c162382212c50fed696bfc03a60937b738..d2d3558e4473813b7b1b0de6748f2501ac9726e1 100644
--- a/package.json
+++ b/package.json
@@ -197,7 +197,7 @@
     "open-cli": "^7.2.0",
     "portfinder": "^1.0.32",
     "prettier": "3.0.0",
-    "prism-react-renderer": "^1.2.1",
+    "prism-react-renderer": "^2.0.6",
     "react": "^17.0.2",
     "react-dom": "^17.0.2",
     "read-all-stdin-sync": "^1.0.5",