<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29533</bug_id>
          
          <creation_ts>2016-03-15 16:05:25 +0000</creation_ts>
          <short_desc>Add &apos;Security Considerations&apos; and &apos;Privacy Considerations&apos; sections</short_desc>
          <delta_ts>2016-04-26 09:09:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM View</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>annevk</cc>
    
    <cc>w3bugs</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125506</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-03-15 16:05:25 +0000</bug_when>
    <thetext>https://drafts.csswg.org/cssom-view/

Security:

* Scrolling APIs might be used in e.g. for clickjacking.
* Moving and resizing windows might be used e.g. to emulate a native platform dialog.
* The &quot;supported open() feature name&quot; is more limited in the spec than it is in implementations; wider support to hide various parts of the UI might be used e.g. to emulate a native platform dialog.
* Failure to implement same-origin restrictions for scrolling APIs ...
* Failure to implement #allowed-to-resize-and-move restrictions for moving and resizing windows ...
* ...?

Privacy:

* Fingerprinting.
* Exposure to JS when the user&apos;s environment changes via e.g. MediaQueryList (c.f. &apos;orientation&apos;, &apos;light-level&apos;, etc.)
* ...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125507</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-15 16:18:57 +0000</bug_when>
    <thetext>One thing you want to mention here is that APIs that allow observing things of stylesheets, e.g., subresource loading (service workers, resource timing), need to be aware that if a stylesheet itself was not loaded using &quot;cors&quot; and is cross-origin, leaking data of those subresources is a same-origin policy violation.

That&apos;s really a generic issue for CSS, but it seems CSSOM is the grab bag for actually defining the model as to how CSS works.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125509</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-03-15 17:35:04 +0000</bug_when>
    <thetext>Yes, that&apos;s for CSSOM though, not CSSOM View. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126145</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-04-26 09:09:51 +0000</bug_when>
    <thetext>Privacy:

* https://www.w3.org/Bugs/Public/show_bug.cgi?id=29577</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>