Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 439 Bytes

frontmatter-js.mdx

File metadata and controls

17 lines (14 loc) · 439 Bytes

---js (() => { require(fs).writeFileSync(${process.cwd()}/cypress/fixtures/file-to-attempt-rce-on.txt, (new Error('Helpful stack trace if this does execute. It should not execute.')).stack) console.trace() return { title: I should not be parsed, otherKey: Some other key } })()


JS frontmatter engine is disabled by default

{props.pageContext.frontmatter?.title || `disabled`}