diff --git a/advisories/github-reviewed/2025/04/GHSA-rhx4-hvx9-j387/GHSA-rhx4-hvx9-j387.json b/advisories/github-reviewed/2025/04/GHSA-rhx4-hvx9-j387/GHSA-rhx4-hvx9-j387.json new file mode 100644 index 00000000000..9a59ce960db --- /dev/null +++ b/advisories/github-reviewed/2025/04/GHSA-rhx4-hvx9-j387/GHSA-rhx4-hvx9-j387.json @@ -0,0 +1,73 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-rhx4-hvx9-j387", + "modified": "2025-04-10T13:39:11Z", + "published": "2025-04-10T13:39:11Z", + "aliases": [ + "CVE-2025-30148" + ], + "summary": "Silverstripe Framework has a XSS vulnerability in HTML editor", + "details": "### Impact\n\nA bad actor with access to edit content in the CMS could send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitised on the client-side, but server-side sanitisation doesn't catch it.\n\nThe server-side sanitisation logic has been updated to sanitise against this attack.\n\n### Reported by\n\nJames Nicoll from Fujitsu Cyber\n\n### References\n\n- https://www.silverstripe.org/download/security-releases/cve-2025-30148", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "silverstripe/framework" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "5.3.23" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387" + }, + { + "type": "WEB", + "url": "https://github.com/silverstripe/silverstripe-framework/pull/11682" + }, + { + "type": "WEB", + "url": "https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358" + }, + { + "type": "WEB", + "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2025-30148.yaml" + }, + { + "type": "PACKAGE", + "url": "https://github.com/silverstripe/silverstripe-framework" + }, + { + "type": "WEB", + "url": "https://www.silverstripe.org/download/security-releases/cve-2025-30148" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-04-10T13:39:11Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/04/GHSA-x8xm-c7p8-2pj2/GHSA-x8xm-c7p8-2pj2.json b/advisories/github-reviewed/2025/04/GHSA-x8xm-c7p8-2pj2/GHSA-x8xm-c7p8-2pj2.json new file mode 100644 index 00000000000..c3057ef158c --- /dev/null +++ b/advisories/github-reviewed/2025/04/GHSA-x8xm-c7p8-2pj2/GHSA-x8xm-c7p8-2pj2.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-x8xm-c7p8-2pj2", + "modified": "2025-04-10T13:38:53Z", + "published": "2025-04-10T13:38:53Z", + "aliases": [ + "CVE-2025-25197" + ], + "summary": "Silverstripe cross-site scripting (XSS) attack in elemental \"Content blocks in use\" report", + "details": "An elemental block can include an XSS payload, which can be executed when viewing the \"Content blocks in use\" report.\n\nThe vulnerability is specific to that report and is a result of failure to cast input prior to including it in the grid field.\n\n### References\n\n- https://www.silverstripe.org/download/security-releases/CVE-2025-25197", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "dnadesign/silverstripe-elemental" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "2.1.2" + }, + { + "fixed": "5.3.12" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/silverstripe/silverstripe-elemental/security/advisories/GHSA-x8xm-c7p8-2pj2" + }, + { + "type": "WEB", + "url": "https://github.com/silverstripe/silverstripe-elemental/pull/1345" + }, + { + "type": "WEB", + "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/dnadesign/silverstripe-elemental/CVE-2025-25197.yaml" + }, + { + "type": "PACKAGE", + "url": "https://github.com/silverstripe/silverstripe-elemental" + }, + { + "type": "WEB", + "url": "https://www.silverstripe.org/download/security-releases/cve-2025-25197" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-79" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-04-10T13:38:53Z", + "nvd_published_at": null + } +} \ No newline at end of file