
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@umbraco/headless-forms-react
Advanced tools
Umbraco Forms React Components for Umbraco Heartcore
> npm install --save @umbraco/headless-forms-react
// src/app.ts
import React, { useEffect, useState } from 'react'
import { Form, FormData, UmbracoForm } from '@umbraco/headless-forms-react'
// import the default styles
import "@umbraco/headless-forms-react/themes/default.css"
const App: React.FC = () => {
const [form, setForm] = useState<UmbracoForm>()
useEffect(() => {
const loadForm = async () => {
const result = ... // fetch from server
setForm(result)
}
loadForm()
}, [])
const handleSubmit = async (data: FormData) => {
// handle submitted data
}
return (
<div className="App">
<Form
form={form}
onSubmit={handleSubmit}
/>
</div>
)
}
export default App
To use the reCAPTCHA v2 field you need to pass your public site key to the Forms
component.
const App: React.FC = () => {
return (
<div className="App">
<Form
form={form}
recaptchaPublicKey="my-site-key"
/>
</div>
)
}
FAQs
Umbraco Forms React Components for Umbraco Heartcore
We found that @umbraco/headless-forms-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.