Cross-site scripting (XSS) vulnerability in Airbnb Knowledge Repo 0.7.4 allows remote attackers to inject arbitrary web scripts or HTML via the post comments functionality, as demonstrated by the post
Cross-site scripting (XSS) vulnerability in Airbnb Knowledge Repo 0.7.4 allows remote attackers to inject arbitrary web scripts or HTML via the post comments functionality, as demonstrated by the post/posts/new_report.kp URI.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | knowledge-repo | < 0.7.5 | 0.7.5 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-12104
- https://github.com/airbnb/knowledge-repo/issues/254
- https://github.com/airbnb/knowledge-repo/issues/431
- https://github.com/airbnb/knowledge-repo/pull/558
- https://github.com/airbnb/knowledge-repo/commit/f026ad2afea14e0ffc91f1aa0eaedcdc72c63167
- https://github.com/airbnb/knowledge-repo
- https://github.com/pypa/advisory-database/tree/main/vulns/knowledge-repo/PYSEC-2018-116.yaml
- https://pypi.org/project/knowledge-repo
- https://web.archive.org/web/20200227121013/http://www.securityfocus.com/bid/104487
- http://www.securityfocus.com/bid/104487
- https://github.com/advisories/GHSA-xmw7-848p-p95w
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
knowledge-repo- Disclosed
- 17.06.2018
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-xmw7-848p-p95w - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2018-116 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: knowledge-repo
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.