{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/45479?format=json","vulnerability_id":"VCID-k3dm-pjf6-p3b8","summary":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. It's possible to perform an XSS by forging a request to a delete attachment action with a specific attachment name. Now this XSS can be exploited only if the attacker knows the CSRF token of the user, or if the user ignores the warning about the missing CSRF token. The vulnerability has been patched in XWiki 15.1-rc-1 and XWiki 14.10.6.","aliases":[{"alias":"CVE-2023-35157"},{"alias":"GHSA-phwm-87rg-27qq"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65731?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.6","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@14.10.6"},{"url":"http://public2.vulnerablecode.io/api/packages/65732?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.1-rc-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.1-rc-1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65729?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.2-milestone-3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3gjp-eske-eqgk"},{"vulnerability":"VCID-k3dm-pjf6-p3b8"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@3.2-milestone-3"},{"url":"http://public2.vulnerablecode.io/api/packages/65730?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-k3dm-pjf6-p3b8"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@15.0-rc-0"}],"references":[{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/commit/35e9073ffec567861e0abeea072bd97921a3decf"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-20339","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-20339"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35157","reference_id":"CVE-2023-35157","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35157"},{"reference_url":"https://github.com/advisories/GHSA-phwm-87rg-27qq","reference_id":"GHSA-phwm-87rg-27qq","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-phwm-87rg-27qq"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-phwm-87rg-27qq","reference_id":"GHSA-phwm-87rg-27qq","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-phwm-87rg-27qq"}],"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":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."},{"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-k3dm-pjf6-p3b8"}