
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).
Vue.js port of react-letter.
Available in NPM, can be installed with yarn add vue-letter
or npm install vue-letter
.
<script setup>
import { Letter } from 'vue-letter';
</script>
<template>
<div id="app">
<Letter html="<script>test</script> hello <h1>world</h1>" />
</div>
</template>
All react-letter properties are supported.
Attribute | Type | Description | Default |
---|---|---|---|
className | String | Class name of the wrapper div. | undefined |
html | String | Unsanitized e-mail HTML contents. | |
text | String | Unsanitized e-mail text contents (fallback if html is not set or empty). | |
useIframe | Boolean | Should the HTML be wrapped in an iframe. | false |
iframeTitle | String | Iframe title, usually set to subject of the message. | |
rewriteExternalResources | Function(string) => string | The result of this function will be used to rewrite the URLs for url(...) in CSS and src attributes in HTML. | |
rewriteExternalLinks | Function(string) => string | The result of this function will be used to rewrite the URLs for href attributes in HTML. | |
allowedSchemas | String[] | List of allowed URL schemas. | ['http', 'https', 'mailto'] |
preserveCssPriority | Boolean | Preserves CSS priority (!important). | true |
FAQs
Display e-mail messages in your Vue projects.
The npm package vue-letter receives a total of 8,425 weekly downloads. As such, vue-letter popularity was classified as popular.
We found that vue-letter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.