@farming-labs/nuxt-theme@0.2.126
Nuxt/Vue UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle
AI Security Review
scanned 13d ago · by lpm-firewall-aiStatic source confirms an HTML injection vulnerability in the exported AI chat component. The renderer’s unsanitized output reaches v-html for user and API response messages, so this warrants a warning for a critical vulnerability.
Decision evidence
public snapshot- The package exports FloatingAIChat as part of its public entrypoint.
- When a user submits a question, the component sends it to props.api and keeps the prompt in the displayed messages.
- The component also adds streamed API response content to messages; both chat layouts render message content using v-html with renderMarkdown.
- The renderer inserts Markdown text and link values into HTML without escaping or sanitizing the input.
- The renderer defines an HTML escaping helper, but the shown Markdown replacements do not apply it to message text or link values.
Source & flagged code
8 flaggedA bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
src/components/ApiReferenceSwitcher.vueView on unpkgThe package exports FloatingAIChat as part of its public entrypoint.
src/index.jsView on unpkg · L7Findings
Affected versions and remediation
This report applies to @farming-labs/nuxt-theme@0.2.126.
See all versions of @farming-labs/nuxt-theme for other recorded verdicts.
- Review the evidence and your use of @farming-labs/nuxt-theme@0.2.126 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.