{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/46266?format=json","vulnerability_id":"VCID-8e5e-91ey-tybx","summary":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In `org.xwiki.platform:xwiki-platform-web` versions 7.2-milestone-2 until 14.10.12 and `org.xwiki.platform:xwiki-platform-web-templates` prior to versions 14.10.12 and 15.5-rc-1, it is possible to pass a title to the page creation action that isn't displayed at first but then executed in the second step. This can be used by an attacker to trick a victim to execute code, allowing script execution if the victim has script right or remote code execution including full access to the XWiki instance if the victim has programming right.","aliases":[{"alias":"CVE-2023-45135"},{"alias":"GHSA-ghf6-2f42-mjh9"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67478?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web@14.10.12","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-web@14.10.12"},{"url":"http://public2.vulnerablecode.io/api/packages/67470?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@14.10.12","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@14.10.12"},{"url":"http://public2.vulnerablecode.io/api/packages/67471?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@15.5-rc-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@15.5-rc-1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/67477?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web@7.2-milestone-2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-8e5e-91ey-tybx"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-web@7.2-milestone-2"},{"url":"http://public2.vulnerablecode.io/api/packages/65613?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@15.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-1p78-ed21-wkcs"},{"vulnerability":"VCID-71as-321s-jkah"},{"vulnerability":"VCID-8e5e-91ey-tybx"},{"vulnerability":"VCID-dmf8-yzvm-vffn"},{"vulnerability":"VCID-etuc-h4yu-zqhn"},{"vulnerability":"VCID-stnw-v9ve-qua8"},{"vulnerability":"VCID-xrkz-8vks-ffg5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-web-templates@15.0-rc-1"}],"references":[{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/199e27ce7016757e66fa7cea99e718044a1b639b","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/commit/199e27ce7016757e66fa7cea99e718044a1b639b"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-20869","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-20869"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45135","reference_id":"CVE-2023-45135","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45135"},{"reference_url":"https://github.com/advisories/GHSA-ghf6-2f42-mjh9","reference_id":"GHSA-ghf6-2f42-mjh9","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-ghf6-2f42-mjh9"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghf6-2f42-mjh9","reference_id":"GHSA-ghf6-2f42-mjh9","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ghf6-2f42-mjh9"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":78,"name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-8e5e-91ey-tybx"}