CVE-2026-108723 Details
Description
answer-me-with-html through 0.5.0 contains a link following vulnerability in the am CLI code block src= embedding, where localPath() checks only path text without resolving symlinks. Attackers can ship a repository with a symlink pointing outside the checkout so am render embeds readable external files into generated HTML, disclosing them when shared.
A vulnerability exists in the 'answer-me-with-html' tool, specifically in versions through 0.5.0, within the code block 'src=' embedding feature. The issue arises because the 'localPath()' function only checks the path as text without resolving symlinks. This flaw allows attackers to include a repository with a symlink pointing to a file outside the project directory. When the 'am render' command is executed, the tool follows the symlink, reads the external file, and embeds its content into the generated HTML. This inadvertently discloses the information when the page is shared.
The vulnerability can be fixed by modifying the 'readSlice' function in 'src/code.js' to resolve symlinks to their real paths, re-check their containment within the base directory, and run the existing secret-pattern checks on the resolved path before reading the file. This adjustment prevents in-tree symlinks from pointing to files outside the allowed directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 11, 2026CISA-ADP
Assessed Oct 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| QingYunA answer-me-with-html | <= 0.5.0 (semver) main |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Modified | CISA-ADP |
| Oct 11, 2026 | New CVE Received | [email protected] |
Volerion