
Cloud Vulnerability DB
A community-led vulnerabilities database
Phlex removes javascript: URLs from attributes that hold a URL, such as href and src, so that a user-provided link can be passed to them safely. The data attribute of the object element also holds a URL, but it wasn't checked, because Phlex also uses data: for nested data-* attributes.
An application that passes a user-controlled URL to object(data:), for example to embed a user-provided document or media file, was vulnerable. In Firefox, the script runs in the page's origin as soon as the page loads, with no interaction. Chromium-based browsers and Safari don't run script from this attribute, so their users weren't affected.
Passing user-provided URLs to iframe(src:) and embed(src:) is not affected, because src is already checked.
data is now checked as a URL whenever its value isn't a Hash. A Hash still expands into data-* attributes, as before.
The patched versions are:
main branch on GitHub.
Phlex 2.0 to 2.3, and 1.x minor versions before 1.11, are no longer maintained and won't get a patch. Please upgrade to 2.4.2 or 1.11.2.If you can't upgrade straight away:
object(data:): parse them, and allow only the schemes you expect, such as https.'unsafe-inline' in script-src) stops the script from running.Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."