Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| QingYunA / answer-me-with-html | affected 0 through 0.5.0 |
CWE
CWE-59
References
- https://hackmd.io/@haind/answer-me-with-html-code-src-symlink-escape
- https://github.com/QingYunA/answer-me-with-html/blob/b275eba8d4cc49bcb4bbc28459863f4b49a480f9/src/code.js#L74-L105
- https://github.com/QingYunA/answer-me-with-html
- https://www.vulncheck.com/advisories/answer-me-with-html-through-0.5.0-symlink-following-in-code-block-src-embedding
ADP enrichment
No English description supplied.
No references supplied.