{"id":"CVE-2024-32463","sourceIdentifier":"security-advisories@github.com","published":"2024-04-17T16:15:09.243","lastModified":"2026-06-17T07:29:40.750","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"phlex is an open source framework for building object-oriented views in Ruby. There is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. The filter to detect and prevent the use of the `javascript:` URL scheme in the `href` attribute of an `<a>` tag could be bypassed with tab `\\t` or newline `\\n` characters between the characters of the protocol, e.g. `java\\tscript:`. This vulnerability is fixed in 1.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3, and 1.4.2. Configuring a Content Security Policy that does not allow `unsafe-inline` would effectively prevent this vulnerability from being exploited."},{"lang":"es","value":"Phlex es un framework de código abierto para crear vistas orientadas a objetos en Ruby. Existe una posible vulnerabilidad de cross-site scripting (XSS) que puede explotarse mediante datos de usuario creados con fines malintencionados. El filtro para detectar y evitar el uso del esquema de URL `javascript:` en el atributo `href` de una etiqueta `<a rel=\"nofollow\">` podría omitirse con tabulaciones `\\t` o caracteres de nueva línea `\\n` entre los caracteres de el protocolo, por ejemplo `java\\tscript:`. Esta vulnerabilidad se solucionó en 1.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3 y 1.4.2. Configurar una política de seguridad de contenido que no permita \"inseguro en línea\" evitaría efectivamente que se aproveche esta vulnerabilidad.</a>"}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"phlex-ruby","product":"phlex","versions":[{"version":">= 1.10.0, < 1.10.1","status":"affected"},{"version":">= 1.9.0, < 1.9.2","status":"affected"},{"version":">= 1.8.0, < 1.8.3","status":"affected"},{"version":">= 1.7.0, < 1.7.2","status":"affected"},{"version":">= 1.6.0, < 1.6.3","status":"affected"},{"version":">= 1.5.0, < 1.5.3","status":"affected"},{"version":">= 1.4.0, < 1.4.2","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"ruby","product":"fileutils","defaultStatus":"unknown","cpes":["cpe:2.3:a:ruby:fileutils:1.0.0:*:*:*:*:*:*:*"],"versions":[{"version":"1.0.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":4.2}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-04-23T18:58:58.573841Z","id":"CVE-2024-32463","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy","source":"security-advisories@github.com"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline","source":"security-advisories@github.com"},{"url":"https://github.com/phlex-ruby/phlex/commit/9e3f5b980655817993682e409cbda72956d865cb","source":"security-advisories@github.com"},{"url":"https://github.com/phlex-ruby/phlex/security/advisories/GHSA-g7xq-xv8c-h98c","source":"security-advisories@github.com"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/phlex-ruby/phlex/commit/9e3f5b980655817993682e409cbda72956d865cb","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/phlex-ruby/phlex/security/advisories/GHSA-g7xq-xv8c-h98c","source":"af854a3a-2127-422b-91ae-364da2661108"}]}