{"id":"GHSA-5f64-7vfc-rcx6","revision":null,"records":[{"revision":"c43a69af1fd747a68de631cf3518530f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-45011","aliases":[],"title":"Apostrophe has stored XSS via javascript: URL in Image Widget Link","description":"ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a javascript: URL payload. Because editors have permission to publish pages, the malicious widget can be published to the live site. When another user, including an administrator or public visitor, clicks the affected image/link, arbitrary JavaScript executes in the victim’s browser. As of time of publication, no known patched versions are available.","state":0,"publishedAt":"2026-06-12T20:43:18.939+00:00","modifiedAt":"2026-06-15T15:16:38.776+00:00","affected":[{"ecosystem":"Vendor product","name":"apostrophe","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"apostrophecms\",\n                    \"product\": \"apostrophe\",\n                    \"versions\": [\n                        {\n                            \"version\": \"= 4.29.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"severity":"HIGH"}],"references":["https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-5f64-7vfc-rcx6","https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe%404.29.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-45011","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-45011","identifiers":["CVE-2026-45011"]},"retained":false,"historicalAffected":[]},{"revision":"4c14ef599e1d4639accbb605b4f528ec","observedAt":"2026-11-07T10:33:16.16+00:00","statement":{"source":"euvd","id":"EUVD-2026-36567","aliases":["CVE-2026-45011","GHSA-5f64-7vfc-rcx6"],"title":"ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a jav…","description":"ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a javascript: URL payload. Because editors have permission to publish pages, the malicious widget can be published to the live site. When another user, including an administrator or public visitor, clicks the affected image/link, arbitrary JavaScript executes in the victim’s browser. As of time of publication, no known patched versions are available.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"severity":null}],"references":["https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-5f64-7vfc-rcx6","https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe%404.29.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36567","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 12, 2026, 8:43:18 PM","dateUpdated":"Jun 15, 2026, 3:16:38 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-36567","identifiers":["EUVD-2026-36567","CVE-2026-45011","GHSA-5f64-7vfc-rcx6"]},"retained":false,"historicalAffected":[]},{"revision":"4fb263eb64954af287342f8b4e3c3c8d","observedAt":"2026-10-27T11:12:23.45+00:00","statement":{"source":"nvd","id":"CVE-2026-45011","aliases":[],"title":"ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a jav…","description":"ApostropheCMS is an open-source Node.js content management system. Version 4.29.0 has a stored cross-site scripting vulnerability in the image widget functionality. A user with the Editor role can configure an image widget link to use a javascript: URL payload. Because editors have permission to publish pages, the malicious widget can be published to the live site. When another user, including an administrator or public visitor, clicks the affected image/link, arbitrary JavaScript executes in the victim’s browser. As of time of publication, no known patched versions are available.","state":0,"publishedAt":"2026-06-12T21:16:22.58+00:00","modifiedAt":"2026-10-26T11:10:00.157+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":7.3,"severity":"HIGH"}],"references":["https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe%404.29.0","https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-5f64-7vfc-rcx6"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-45011","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-79","CWE-116"],"productCriteria":[],"sourceDates":{"published":"2026-06-12T21:16:22.580","lastModified":"2026-10-26T11:10:00.157"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-45011","identifiers":["CVE-2026-45011"]},"retained":false,"historicalAffected":[]},{"revision":"a4c757c743ec40a79002255cc3349f19","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5f64-7vfc-rcx6","aliases":["CVE-2026-45011"],"title":"Apostrophe has stored XSS via javascript: URL in Image Widget Link","description":"### Summary\nA stored cross-site scripting vulnerability was identified in the image widget functionality. A user with the Editor role can configure an image widget link to use a javascript: URL payload.\n\nBecause editors have permission to publish pages, the malicious widget can be published to the live site. When another user, including an administrator or public visitor, clicks the affected image/link, arbitrary JavaScript executes in the victim’s browser.\n\n### Affected Version\nApostropheCMS (tested on version: v4.29.0)\n\n### Steps to Reproduce\n**Precondition**\nEnsure at least one image exists in the media library.\n\nIf the media library is empty:\n- Log in as an Editor.\n- Open the media library.\n- Upload any JPG or PNG image.\n- Set any title, for example Probe image.\n- Publish the image and close the media manager.\n\n**Exploitation Steps**\n\n- Log in as an Editor.\n- Open the home page.\n- Enable edit mode for the page.\n- In the main content area, click Add content.\n- Select the Image widget.\n- Choose any existing image from the image picker and save/select it.\n- Open the image widget settings.\n- Locate the Link to field and change it to URL.\n- In the URL field, enter: ```javascript:alert(document.domain)```\n<img width=\"1249\" height=\"979\" alt=\"image\" src=\"https://github.com/user-attachments/assets/c7f77177-1711-461d-b9bd-14292a6996d5\" />\n\n- Save the image and click on Update.\n- As another user, such as an administrator or guest, open the published page and click the linked image.\n- Observe that the JavaScript payload executes.\n<img width=\"1267\" height=\"1034\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a80484b4-873a-47c1-8682-84626523008a\" />\n\n**Note**: This attack can also be performed by a Contributor. However, because contributors cannot publish content directly, the malicious image widget remains in the draft version and is only visible to users with access to review drafts, such as administrators or editors.\n\nIf an administrator reviews and approves/publishes the affected draft, the stored XSS becomes part of the live page and can then affect all users who interact with the malicious image link.\n\n### Impact\nSuccessful exploitation allows an Editor to store a JavaScript payload in published page content. When a victim clicks the affected image link, the payload executes in the victim’s browser.\n\nThis may allow an attacker to:\n\n- perform actions in the context of an authenticated administrator\n- access sensitive information available in the CMS interface\n- modify page content or configuration\n- conduct phishing attacks within the trusted site\n- compromise visitors who interact with the published image link\n\n### Recommendation\n\nValidate and sanitize all user-supplied URLs used in widget link fields.\n\nSpecifically:\n\n- Reject dangerous URL schemes such as javascript:, data:, and other executable schemes.\n- Allow only safe protocols such as http:, https:, mailto:, and relative URLs where appropriate.\n- Normalize and validate URLs server-side before storage.\n- Encode rendered URLs safely in templates.\n- Consider applying a strict Content Security Policy to reduce the impact of XSS.","state":0,"publishedAt":"2026-05-14T18:27:56+00:00","modifiedAt":"2026-06-12T22:15:10.5115516+00:00","affected":[{"ecosystem":"npm","name":"apostrophe","ranges":[],"versions":["4.29.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-5f64-7vfc-rcx6","https://nvd.nist.gov/vuln/detail/CVE-2026-45011","https://github.com/apostrophecms/apostrophe","https://github.com/apostrophecms/apostrophe/releases/tag/apostrophe%404.29.0"],"sourceUrl":"https://github.com/advisories/GHSA-5f64-7vfc-rcx6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5f64-7vfc-rcx6","identifiers":["GHSA-5f64-7vfc-rcx6","CVE-2026-45011"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-07T19:07:25.1127279+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-07T19:07:25.1127279+00:00","lastSuccessAt":"2026-11-07T19:07:25.259395+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:25.259396+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-bb5c9d5a08063ef076042e33dd72a7d0ffa4c4487efdcf3106e29ba55ec2ad57-0f6819d30115900023f4b20f99e508641b2007efdd91dc0cdc8e3f4191d4d221","complete":true,"records":420942,"lastAttemptAt":"2026-11-07T19:07:24.5330127+00:00","lastSuccessAt":"2026-11-07T19:07:24.4427471+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:24.5330127+00:00","snapshotPublishedAt":"2026-11-07T18:20:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-18c6323bbff848d0aa330b37ffb86153","complete":false,"records":13633,"lastAttemptAt":"2026-11-07T19:08:39.9873807+00:00","lastSuccessAt":"2026-11-07T19:08:40.0472435+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:08:40.0472435+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-07T19:07:25.1127279+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-07T19:07:25.1127279+00:00","lastSuccessAt":"2026-11-07T19:07:25.2602906+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:25.2602909+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-029d4c3fa5184934830a91e59f7a88f3","complete":true,"records":13645,"lastAttemptAt":"2026-11-07T19:07:38.2251716+00:00","lastSuccessAt":"2026-11-07T19:07:38.222+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:38.222+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-07T19:07:24.9680856+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:24.9680856+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-07T19:07:24.6882184+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:24.6882184+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-07T19:07:25.0706377+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:25.0706377+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-40ad6183a951565ace1520a9b4d631e1d0bfb1d4bf7c5574c375032559f3ff53","complete":true,"records":231292,"lastAttemptAt":"2026-11-07T19:07:24.8613995+00:00","lastSuccessAt":"2026-11-07T10:29:00.4821259+00:00","error":null,"lastVerifiedAt":"2026-11-07T19:07:24.8613995+00:00","snapshotPublishedAt":"2026-11-07T09:32:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}