{"url":"http://public2.vulnerablecode.io/api/packages/65609?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.0-rc-1","type":"maven","namespace":"org.xwiki.platform","name":"xwiki-platform-rest-server","version":"15.0-rc-1","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"15.1","latest_non_vulnerable_version":"17.7.0-rc-1","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/45600?format=json","vulnerability_id":"VCID-7jsf-8yfm-x7cx","summary":"Cross-Site Request Forgery (CSRF)\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The REST API allows executing all actions via POST requests and accepts `text/plain`, `multipart/form-data` or `application/www-form-urlencoded` as content types which can be sent via regular HTML forms, thus allowing cross-site request forgery. With the interaction of a user with programming rights, this allows remote code execution through script macros and thus impacts the integrity, availability and confidentiality of the whole XWiki installation. For regular cookie-based authentication, the vulnerability is mitigated by SameSite cookie restrictions but as of March 2023, these are not enabled by default in Firefox and Safari. The vulnerability has been patched in XWiki 14.10.8 and 15.2 by requiring a CSRF token header for certain request types that are susceptible to CSRF attacks.","references":[{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/commit/4c175405faa0e62437df397811c7526dfc0fbae7"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-20135","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-20135"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37277","reference_id":"CVE-2023-37277","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37277"},{"reference_url":"https://github.com/advisories/GHSA-6xxr-648m-gch6","reference_id":"GHSA-6xxr-648m-gch6","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-6xxr-648m-gch6"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6","reference_id":"GHSA-6xxr-648m-gch6","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-6xxr-648m-gch6"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65988?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.2"}],"aliases":["CVE-2023-37277","GHSA-6xxr-648m-gch6"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-7jsf-8yfm-x7cx"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/45442?format=json","vulnerability_id":"VCID-dxfr-k1tg-83fj","summary":"Exposure of Resource to Wrong Sphere\nXWiki Platform is a generic wiki platform. Starting in version 7.3-milestone-1 and prior to versions 14.4.8, 14.10.6, and 15.1, ny user can call a REST endpoint and obtain the obfuscated passwords, even when the mail obfuscation is activated. The issue has been patched in XWiki 14.4.8, 14.10.6, and 15.1. There is no known workaround.","references":[{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/824cd742ecf5439971247da11bfe7e0ad2b10ede","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/commit/824cd742ecf5439971247da11bfe7e0ad2b10ede"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-16138","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-16138"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35151","reference_id":"CVE-2023-35151","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35151"},{"reference_url":"https://github.com/advisories/GHSA-8g9c-c9cm-9c56","reference_id":"GHSA-8g9c-c9cm-9c56","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-8g9c-c9cm-9c56"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8g9c-c9cm-9c56","reference_id":"GHSA-8g9c-c9cm-9c56","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8g9c-c9cm-9c56"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65612?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.1"}],"aliases":["CVE-2023-35151","GHSA-8g9c-c9cm-9c56"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-dxfr-k1tg-83fj"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-rest-server@15.0-rc-1"}