{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "python-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0.8.1-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}, {"vendor": "debian", "product": "python3-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0.8.1-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2017-12-29T15:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"medium\"}"}}}], "affected": [{"vendor": "fedora", "product": "python-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.8.3-1.fc26", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:26"], "defaultStatus": "unaffected"}, {"vendor": "fedora", "product": "python-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:0.8.3-1.fc27", "versionType": "rpm"}], "platforms": ["cpe:/o:fedoraproject:fedora:27"], "defaultStatus": "unaffected"}], "references": [{"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2017-2eefd424bd"}, {"url": "https://bodhi.fedoraproject.org/updates/FEDORA-2017-7b4149911a"}], "descriptions": [{"lang": "en", "value": "python-mistune: Cross-site-scripting"}], "providerMetadata": {"orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5", "shortName": "fedora", "dateUpdated": "2017-12-27T19:50:23Z", "x_subShortName": "fedora"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "python311-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-150400.11.5.9", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle-module-python3:15:sp6", "cpe:/o:suse:sled:15:sp6", "cpe:/o:suse:sles:15:sp6", "cpe:/o:suse:sles_sap:15:sp6"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 1072307"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16876", "name": "Mitre CVE-2017-16876"}, {"url": "https://www.suse.com/security/cve/CVE-2017-16876", "name": "SUSE CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "\n    Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2024-10-31T00:00:00Z", "x_subShortName": "suse_desktop_15"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "python311-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:2.0.5-150400.11.5.9", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sle-module-python3:15:sp6", "cpe:/o:suse:sled:15:sp6", "cpe:/o:suse:sles:15:sp6", "cpe:/o:suse:sles_sap:15:sp6"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 1072307"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16876", "name": "Mitre CVE-2017-16876"}, {"url": "https://www.suse.com/security/cve/CVE-2017-16876", "name": "SUSE CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "\n    Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2024-10-31T00:00:00Z", "x_subShortName": "suse_server_15"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "python313-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.1.3-160000.2.2", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:16.0", "cpe:/o:suse:sles_sap:16.0"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "python313-mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0:3.1.3-160100.2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:16.1", "cpe:/o:suse:sles_sap:16.1"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 1072307"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16876", "name": "Mitre CVE-2017-16876"}, {"url": "https://www.suse.com/security/cve/CVE-2017-16876", "name": "SUSE CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "\n    Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2025-11-14T00:00:00Z", "x_subShortName": "suse_server_16"}}, {"metrics": [{"cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 5.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N", "userInteraction": "ACTIVE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "subIntegrityImpact": "LOW", "vulnIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "vulnConfidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "pypi", "product": "mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0.8.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1524596"}, {"url": "https://github.com/advisories/GHSA-98gj-wwxm-cj3h"}, {"url": "https://github.com/lepture/mistune"}, {"url": "https://github.com/lepture/mistune/blob/master/CHANGES.rst"}, {"url": "https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC"}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument."}, {"lang": "en", "value": "mistune Cross-site scripting (XSS) vulnerability"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2017-12-29T15:29:00Z", "x_subShortName": "pypi"}}, {"affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "https://www.cve.org/CVERecord?id=CVE-2017-16876"}], "descriptions": [{"lang": "en", "value": "not defined"}], "providerMetadata": {"orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc", "shortName": "canonical", "dateUpdated": "2000-01-01T00:00:00Z", "x_subShortName": "canonical"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 6.1, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "integrityImpact": "LOW", "userInteraction": "REQUIRED", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "LOW"}}], "affected": [{"cpes": ["cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*"], "vendor": "mistune_project", "product": "mistune", "versions": [{"status": "affected", "version": "0", "lessThan": "0.8.1", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"cpes": ["cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*"], "vendor": "fedoraproject", "product": "fedora", "versions": [{"status": "affected", "version": "26"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1524596", "tags": ["issue-tracking", "third-party-advisory", "vdb-entry"]}, {"url": "https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98", "tags": ["patch", "third-party-advisory"]}, {"url": "https://github.com/lepture/mistune/blob/master/CHANGES.rst", "tags": ["release-notes", "third-party-advisory"]}, {"url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/"}], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument."}, {"lang": "es", "value": "Vulnerabilidad de Cross-Site Scripting (XSS) en la función _keyify en mistune.py en Mistune en versiones anteriores a la 0.8.1 permite que atacantes remotos inyecten scripts web o HTML aprovechando el error a la hora de escapar el argumento \"key\"."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2017-12-29T15:29:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2017-16876", "state": "PUBLISHED", "dateUpdated": "2025-04-20T01:37:25Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2017-12-29T15:29:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}