PyPI: knowledge-repo

CVE-2018-12104

Safety vulnerability ID: SFTY-20180617-09218

Safety legacy ID: pyup.io-53998

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.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

Airbnb Knowledge Repo XSS In Comments

Advisory

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 Package

Affecting knowledge-repo package, versions>=0,<0.7.5

Also affects

---

How to Fix

Upgradeknowledge-repoto0.7.5or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more