You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-forms-1] control-value() security and handling #11860
control-value() is morally equivalent to attr(), just with some special handling of the values since we know something about types. So, it should work identically to attr():
it's an "arbitrary substitution function"
it has the same tainting behavior as attr() (and so can't be used in a URL)
Password input values aren't security-conscious in this context; the page already has access to them. (And they might even be visible, depending on your browser, if you click the "reveal password" UI.)
It would be bad for them to be exfiltrateable, but that's what attr() tainting solves.
Activity
lukewarlow commentedon Mar 6, 2025
We should probably also refuse to expose password input values?
tabatkins commentedon Mar 6, 2025
Password input values aren't security-conscious in this context; the page already has access to them. (And they might even be visible, depending on your browser, if you click the "reveal password" UI.)
It would be bad for them to be exfiltrateable, but that's what attr() tainting solves.
Upgrade dependencies