{"url":"http://public2.vulnerablecode.io/api/packages/61327?format=json","purl":"pkg:composer/bolt/core@4.2.0","type":"composer","namespace":"bolt","name":"core","version":"4.2.0","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/42880?format=json","vulnerability_id":"VCID-mt2z-nyas-5qer","summary":"Improper Control of Generation of Code ('Code Injection')\nBolt CMS <= 4.2 is vulnerable to Remote Code Execution. Unsafe theme rendering allows an authenticated attacker to edit theme to inject server-side template injection that leads to remote code execution.","references":[{"reference_url":"http://boltcms.com","reference_id":"","reference_type":"","scores":[],"url":"http://boltcms.com"},{"reference_url":"https://github.com/bolt/core","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/bolt/core"},{"reference_url":"https://github.com/bolt/core/blob/3b21a73ebf519b76756d3ad2841312d10ef11461/src/Controller/Frontend/TemplateController.php","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/bolt/core/blob/3b21a73ebf519b76756d3ad2841312d10ef11461/src/Controller/Frontend/TemplateController.php"},{"reference_url":"https://github.com/iiSiLvEr/CVEs/tree/main/CVE-2021-40219","reference_id":"CVE-2021-40219","reference_type":"","scores":[],"url":"https://github.com/iiSiLvEr/CVEs/tree/main/CVE-2021-40219"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40219","reference_id":"CVE-2021-40219","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40219"},{"reference_url":"https://github.com/advisories/GHSA-gprh-7767-cw39","reference_id":"GHSA-gprh-7767-cw39","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-gprh-7767-cw39"}],"fixed_packages":[],"aliases":["CVE-2021-40219","GHSA-gprh-7767-cw39"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-mt2z-nyas-5qer"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/bolt/core@4.2.0"}