← Back to scan
File as GitHub Issue repo: facebook/docusaurus

Push this scan report to facebook/docusaurus

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Ruby YAML.load / Marshal.load on untrusted input

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… packages/docusaurus-utils/src/dataFileU…:61
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… packages/docusaurus-utils-validation/sr…:118
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… packages/docusaurus-plugin-content-docs…:61
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… packages/docusaurus-utils-validation/sr…:118
CRIT SEC116 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Mar… packages/docusaurus-plugin-content-docs…:61
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… packages/docusaurus-utils/src/dataFileU…:61
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… packages/docusaurus-utils-validation/sr…:118
CRIT SEC079 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader ca… packages/docusaurus-plugin-content-docs…:61
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/docusaurus/src/ssg/ssgUtils.ts:68
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… packages/docusaurus/src/commands/start/…:85
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). packages/docusaurus-utils/src/hashUtils…:14
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). packages/docusaurus-utils/src/emitUtils…:16
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/docusaurus-utils/src/globUtils…:47
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/docusaurus-theme-search-algoli…:20
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/docusaurus-theme-common/src/ut…:23
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/docusaurus-plugin-content-blog…:80
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/docusaurus-plugin-content-blog…:133
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/docusaurus-plugin-client-redir…:39
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/docusaurus-plugin-content-docs…:173
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/docusaurus-plugin-content-docs…:143
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/docusaurus-plugin-client-redir…:116
HIGH SEC030 [SEC030] Open Redirect — user-controlled redirect target: Redirect target is taken direct… packages/docusaurus-plugin-client-redir…:76
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/docusaurus-plugin-content-docs…:31
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… packages/docusaurus-bundler/src/legacy/…:45
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… admin/scripts/generateExamples.js:119
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/docusaurus-plugin-client-redir…:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/docusaurus-plugin-client-redir…:103
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… admin/scripts/formatLighthouseReport.js:32
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… packages/docusaurus/src/commands/utils/…:158
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/docusaurus/src/client/prefetch…:61
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/docusaurus-theme-classic/src/i…:40
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. packages/docusaurus-utils-validation/sr…:118
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. packages/docusaurus-plugin-content-docs…:61
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/docusaurus-mdx-loader/src/rema…:53
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … packages/docusaurus-bundler/src/legacy/…:45
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … admin/scripts/generateExamples.js:30
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED WEB015 Public web app has no Content Security Policy index.html
LOW AIC003 Duplicated implementation block across source files packages/docusaurus-plugin-ideal-image/…:8
LOW AIC003 Duplicated implementation block across source files packages/docusaurus-plugin-content-page…:50
LOW AIC003 Duplicated implementation block across source files packages/docusaurus-mdx-loader/src/rema…:1
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED089 [MINED089] Js Always False If: if (false) — branch never taken. Dead code / disabled feat… website/_dogfooding/_pages tests/analyt…:27
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/docusaurus/src/webpack/base.ts:155
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… packages/docusaurus-theme-classic/src/t…:16
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… packages/docusaurus-theme-classic/src/t…:30
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… packages/docusaurus-theme-classic/src/t…:22
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/docusaurus-theme-classic/src/t…:27
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/docusaurus-theme-classic/src/t…:23
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/docusaurus-remark-plugin-npm2y…:116
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/docusaurus/src/commands/serve.…:64
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/docusaurus-theme-search-algoli…:11
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/docusaurus-plugin-content-blog…:64
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/docusaurus-logger/src/logger.ts:26
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/docusaurus-cssnano-preset/src/…:41
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/docusaurus-babel/src/babelTran…:192
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… packages/create-docusaurus/templates/cl…:65
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… examples/classic/src/components/Homepag…:58
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… examples/classic-typescript/src/compone…:65
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/docusaurus-bundler/src/current…:133
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … admin/scripts/generateExamples.js:21
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … admin/new.docusaurus.io/functionUtils/p…:79
Reset to top 5 64 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `facebook/docusaurus`

**Score: 78/100 (A-)**  ·  64 findings  ·  scanned 2026-06-05 08:58 UTC  ·  126,498 LOC

| Severity | Count |
|---|---|
| CRITICAL | 8 |
| HIGH | 21 |
| MEDIUM | 9 |
| LOW | 6 |

📊 [Full filterable report](https://repobility.com/scan/6d33716a-d17c-47d9-beb3-8115a8f07944/)  ·  ![scorecard](https://repobility.com/scan/6d33716a-d17c-47d9-beb3-8115a8f07944/report.png?v=1780649918-s2)

### Top findings

1. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `packages/docusaurus-utils/src/dataFileUtils.ts:61` · CWE-502 · ✓ Repobility
2. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `packages/docusaurus-utils-validation/src/tagsFile.ts:118` · CWE-502 · ✓ Repobility
3. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `packages/docusaurus-plugin-content-docs/src/sidebars/index.ts:61` · CWE-502 · ✓ Repobility
4. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `packages/docusaurus-utils-validation/src/tagsFile.ts:118` · A08:2021 Software & Data Integrity Failures
5. **CRITICAL** `SEC116` — Ruby YAML.load / Marshal.load on untrusted input
   `packages/docusaurus-plugin-content-docs/src/sidebars/index.ts:61` · A08:2021 Software & Data Integrity Failures

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/6d33716a-d17c-47d9-beb3-8115a8f07944/_
Already filed
'facebook' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Megaproject â high spam risk
Could not determine 'facebook/docusaurus' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.