{"url":"http://public2.vulnerablecode.io/api/packages/72712?format=json","purl":"pkg:gem/phlex@2.3.2","type":"gem","namespace":"","name":"phlex","version":"2.3.2","qualifiers":{},"subpath":"","is_vulnerable":false,"next_non_vulnerable_version":"2.4.1","latest_non_vulnerable_version":"2.4.1","affected_by_vulnerabilities":[],"fixing_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/22465?format=json","vulnerability_id":"VCID-85dg-y8nr-n3b9","summary":"Phlex XSS protection bypass via attribute splatting, dynamic tags, and href values\nDuring a security audit conducted with Claude Opus 4.6 and GPT-5.3-Codex, we identified three specific ways to bypass the XSS (cross-site-scripting) protection built into Phlex.\n\n1. The first bypass could happen if user-provided attributes with string keys were splatted into HTML tag, e.g. `div(**user_attributes)`.\n2. The second bypass could happen if user-provided tag names were passed to the `tag` method, e.g. `tag(some_tag_name_from_user)`.\n3. The third bypass could happen if user’s links were passed to `href` attributes, e.g. `a(href: user_provided_link)`.\n\nAll three of these patterns are meant to be safe and all have now been patched.","references":[{"reference_url":"https://github.com/yippee-fun/phlex","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex"},{"reference_url":"https://github.com/yippee-fun/phlex/commit/1d85da417cb15eb8cb2f54a68d531c9b35d9d03a","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/commit/1d85da417cb15eb8cb2f54a68d531c9b35d9d03a"},{"reference_url":"https://github.com/yippee-fun/phlex/commit/556441d5a64ff93f749e8116a05b2d97264468ee","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/commit/556441d5a64ff93f749e8116a05b2d97264468ee"},{"reference_url":"https://github.com/yippee-fun/phlex/commit/74e3d8610ffabc2cf5f241945e9df4b14dceb97d","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/commit/74e3d8610ffabc2cf5f241945e9df4b14dceb97d"},{"reference_url":"https://github.com/yippee-fun/phlex/commit/9f56ad13bea9a7d6117fdfd510446c890709eeac","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/commit/9f56ad13bea9a7d6117fdfd510446c890709eeac"},{"reference_url":"https://github.com/yippee-fun/phlex/commit/fe9ea708672f9fa42526d9b47e1cdc4634860ef1","reference_id":"","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/commit/fe9ea708672f9fa42526d9b47e1cdc4634860ef1"},{"reference_url":"https://github.com/advisories/GHSA-w67g-2h6v-vjgq","reference_id":"GHSA-w67g-2h6v-vjgq","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-w67g-2h6v-vjgq"},{"reference_url":"https://github.com/yippee-fun/phlex/security/advisories/GHSA-w67g-2h6v-vjgq","reference_id":"GHSA-w67g-2h6v-vjgq","reference_type":"","scores":[{"value":"7.1","scoring_system":"cvssv3","scoring_elements":""},{"value":"7.1","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/yippee-fun/phlex/security/advisories/GHSA-w67g-2h6v-vjgq"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/72716?format=json","purl":"pkg:gem/phlex@1.11.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.11.1"},{"url":"http://public2.vulnerablecode.io/api/packages/72715?format=json","purl":"pkg:gem/phlex@2.0.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-85dg-y8nr-n3b9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.0.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72714?format=json","purl":"pkg:gem/phlex@2.1.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.1.3"},{"url":"http://public2.vulnerablecode.io/api/packages/72713?format=json","purl":"pkg:gem/phlex@2.2.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72712?format=json","purl":"pkg:gem/phlex@2.3.2","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.3.2"},{"url":"http://public2.vulnerablecode.io/api/packages/72710?format=json","purl":"pkg:gem/phlex@2.4.0.beta1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-85dg-y8nr-n3b9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.4.0.beta1"},{"url":"http://public2.vulnerablecode.io/api/packages/72711?format=json","purl":"pkg:gem/phlex@2.4.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.4.1"}],"aliases":["GHSA-w67g-2h6v-vjgq"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-85dg-y8nr-n3b9"}],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:gem/phlex@2.3.2"}