Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/49573?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49573?format=api", "vulnerability_id": "VCID-1468-4fdx-kbfr", "summary": "Craft CMS vulnerable to potential authenticated Remote Code Execution via Twig SSTI\nFor this to work, users must have administrator access to the Craft Control Panel, and [allowAdminChanges](https://craftcms.com/docs/5.x/reference/config/general.html#allowadminchanges) must be enabled for this to work, which is against Craft CMS' recommendations for any non-dev environment.\n\nhttps://craftcms.com/knowledge-base/securing-craft#set-allowAdminChanges-to-false-in-production\n\nAlternatively, a non-administrator account with allowAdminChanges disabled can be used, provided access to the System Messages utility is available.\n\nIt is possible to craft a malicious payload using the Twig `map` filter in text fields that accept Twig input under Settings in the Craft control panel or using the System Messages utility, which could lead to a RCE.\n\nUsers should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.\n\nReferences:\n\nhttps://github.com/craftcms/cms/commit/d82680f4a05f9576883bb83c3f6243d33ca73ebe\n\nhttps://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04", "aliases": [ { "alias": "CVE-2025-68454" }, { "alias": "GHSA-742x-x762-7383" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73170?format=api", "purl": "pkg:composer/craftcms/cms@4.16.17", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.16.17" }, { "url": "http://public2.vulnerablecode.io/api/packages/73169?format=api", "purl": "pkg:composer/craftcms/cms@5.8.21", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.8.21" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/65261?format=api", "purl": "pkg:composer/craftcms/cms@4.0.0-RC1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1468-4fdx-kbfr" }, { "vulnerability": "VCID-1mb5-28xp-ckd2" }, { "vulnerability": "VCID-2vn9-2cs3-vbg3" }, { "vulnerability": "VCID-7y4f-ef7t-47eb" }, { "vulnerability": "VCID-8u2j-17a4-q7eh" }, { "vulnerability": "VCID-9enr-b6zd-mbh8" }, { "vulnerability": "VCID-akrv-yqnf-1kg8" }, { "vulnerability": "VCID-azr5-12f8-hfbm" }, { "vulnerability": "VCID-cys8-jnmu-77ec" }, { "vulnerability": "VCID-ec34-nvn3-qbcb" }, { "vulnerability": "VCID-f7gc-cgka-tycr" }, { "vulnerability": "VCID-hyct-5gap-7kdu" }, { "vulnerability": "VCID-jeyh-3jxd-z3g6" }, { "vulnerability": "VCID-jhen-vhqx-n7dr" }, { "vulnerability": "VCID-jxz8-g6fq-dubw" }, { "vulnerability": "VCID-kbrc-85av-nfcn" }, { "vulnerability": "VCID-m5rf-usae-yfb7" }, { "vulnerability": "VCID-ppet-ruae-1kav" }, { "vulnerability": "VCID-qwmy-d2e8-5khw" }, { "vulnerability": "VCID-qywv-vf4r-8bh9" }, { "vulnerability": "VCID-twuy-wzb7-k7g3" }, { "vulnerability": "VCID-vasz-rnn1-67ev" }, { "vulnerability": "VCID-w9yn-1573-hyau" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@4.0.0-RC1" }, { "url": "http://public2.vulnerablecode.io/api/packages/73168?format=api", "purl": "pkg:composer/craftcms/cms@5.0.0-RC1", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-1468-4fdx-kbfr" }, { "vulnerability": "VCID-1mb5-28xp-ckd2" }, { "vulnerability": "VCID-39ct-cg7w-kyb6" }, { "vulnerability": "VCID-4wkr-jx1w-77hn" }, { "vulnerability": "VCID-5mnd-qvaq-k3am" }, { "vulnerability": "VCID-5q5g-jrxm-eyhe" }, { "vulnerability": "VCID-7y4f-ef7t-47eb" }, { "vulnerability": "VCID-8u2j-17a4-q7eh" }, { "vulnerability": "VCID-9enr-b6zd-mbh8" }, { "vulnerability": "VCID-a3b5-pwyh-yugv" }, { "vulnerability": "VCID-akrv-yqnf-1kg8" }, { "vulnerability": "VCID-azr5-12f8-hfbm" }, { "vulnerability": "VCID-cys8-jnmu-77ec" }, { "vulnerability": "VCID-esma-wxje-eqh3" }, { "vulnerability": "VCID-fpea-e48p-kfbn" }, { "vulnerability": "VCID-hkp9-3hzv-quhk" }, { "vulnerability": "VCID-hyct-5gap-7kdu" }, { "vulnerability": "VCID-jeyh-3jxd-z3g6" }, { "vulnerability": "VCID-jxz8-g6fq-dubw" }, { "vulnerability": "VCID-kbrc-85av-nfcn" }, { "vulnerability": "VCID-m5rf-usae-yfb7" }, { "vulnerability": "VCID-pgm4-svq8-tfc5" }, { "vulnerability": "VCID-ppet-ruae-1kav" }, { "vulnerability": "VCID-qywv-vf4r-8bh9" }, { "vulnerability": "VCID-rb7c-3nkc-gkeg" }, { "vulnerability": "VCID-twuy-wzb7-k7g3" }, { "vulnerability": "VCID-vasz-rnn1-67ev" }, { "vulnerability": "VCID-vvhc-rnpr-ubey" }, { "vulnerability": "VCID-w9yn-1573-hyau" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@5.0.0-RC1" } ], "references": [ { "reference_url": "https://github.com/craftcms/cms", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms" }, { "reference_url": "https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04" }, { "reference_url": "https://github.com/craftcms/cms/commit/d82680f4a05f9576883bb83c3f6243d33ca73ebe", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/commit/d82680f4a05f9576883bb83c3f6243d33ca73ebe" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68454", "reference_id": "CVE-2025-68454", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68454" }, { "reference_url": "https://github.com/advisories/GHSA-742x-x762-7383", "reference_id": "GHSA-742x-x762-7383", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-742x-x762-7383" }, { "reference_url": "https://github.com/craftcms/cms/security/advisories/GHSA-742x-x762-7383", "reference_id": "GHSA-742x-x762-7383", "reference_type": "", "scores": [], "url": "https://github.com/craftcms/cms/security/advisories/GHSA-742x-x762-7383" } ], "weaknesses": [ { "cwe_id": 1336, "name": "Improper Neutralization of Special Elements Used in a Template Engine", "description": "The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine." }, { "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." }, { "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." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1468-4fdx-kbfr" }