GHSA-7v7j-pmcf-62v5LowCVSS 2.5
answer-me-with-html through 0.5.0 contains a link following vulnerability in the am CLI code...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-108723
- https://github.com/QingYunA/answer-me-with-html
- https://github.com/QingYunA/answer-me-with-html/blob/b275eba8d4cc49bcb4bbc28459863f4b49a480f9/src/code.js#L74-L105
- https://hackmd.io/@haind/answer-me-with-html-code-src-symlink-escape
- https://www.vulncheck.com/advisories/answer-me-with-html-through-0.5.0-symlink-following-in-code-block-src-embedding
- https://github.com/advisories/GHSA-7v7j-pmcf-62v5